Skip to content

Commit

Permalink
Merge pull request #32 from Sefiraat/chore/general-clean-up
Browse files Browse the repository at this point in the history
  • Loading branch information
J3fftw1 authored Jan 6, 2023
2 parents a07392f + 489ae50 commit 6013c4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 0 additions & 3 deletions src/main/java/dev/sefiraat/netheopoiesis/api/RecipeTypes.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,14 @@

import com.google.common.base.Preconditions;
import dev.sefiraat.netheopoiesis.api.interfaces.WorldCrushable;
import dev.sefiraat.netheopoiesis.api.plant.netheos.Flavour;
import dev.sefiraat.netheopoiesis.api.plant.netheos.NetheoBalls;
import dev.sefiraat.netheopoiesis.implementation.netheos.NetheoBall;
import dev.sefiraat.netheopoiesis.listeners.DropListener;
import dev.sefiraat.netheopoiesis.utils.Keys;
import dev.sefiraat.netheopoiesis.utils.Theme;
import io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem;
import io.github.thebusybiscuit.slimefun4.api.recipes.RecipeType;
import io.github.thebusybiscuit.slimefun4.libraries.dough.items.CustomItemStack;
import org.bukkit.Material;
import org.bukkit.entity.Item;
import org.bukkit.inventory.ItemStack;

import javax.annotation.Nonnull;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import dev.sefiraat.netheopoiesis.utils.WorldUtils;
import io.github.thebusybiscuit.slimefun4.utils.tags.SlimefunTag;
import org.bukkit.ChatColor;
import org.bukkit.Tag;
import org.bukkit.World;
import org.bukkit.block.Block;
import org.bukkit.entity.Player;
Expand Down Expand Up @@ -45,7 +46,7 @@ public void onSleep(@Nonnull PlayerInteractEvent event) {
private boolean validSleepEvent(Action action, World world, Block block) {
return action == Action.RIGHT_CLICK_BLOCK
&& WorldUtils.inNether(world)
&& SlimefunTag.BEDS.isTagged(block.getType())
&& Tag.BEDS.isTagged(block.getType())
&& Purification.getValue(block.getChunk()) >= 250;
}
}

0 comments on commit 6013c4c

Please sign in to comment.