diff --git a/src/main/java/dev/sefiraat/netheopoiesis/api/RecipeTypes.java b/src/main/java/dev/sefiraat/netheopoiesis/api/RecipeTypes.java index 170f7ba..b71a1ec 100644 --- a/src/main/java/dev/sefiraat/netheopoiesis/api/RecipeTypes.java +++ b/src/main/java/dev/sefiraat/netheopoiesis/api/RecipeTypes.java @@ -2,9 +2,7 @@ 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; @@ -12,7 +10,6 @@ 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; diff --git a/src/main/java/dev/sefiraat/netheopoiesis/listeners/PlayerSleepListener.java b/src/main/java/dev/sefiraat/netheopoiesis/listeners/PlayerSleepListener.java index d58e8df..0d3e9a4 100644 --- a/src/main/java/dev/sefiraat/netheopoiesis/listeners/PlayerSleepListener.java +++ b/src/main/java/dev/sefiraat/netheopoiesis/listeners/PlayerSleepListener.java @@ -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; @@ -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; } }