mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-20 11:45:51 +00:00
Did a requested change.
This commit is contained in:
parent
4414b3f29b
commit
2c0c298dfc
@ -2,7 +2,6 @@ package io.github.thebusybiscuit.slimefun4.implementation.listeners;
|
||||
|
||||
import org.bukkit.HeightMap;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.entity.Entity;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.EventHandler;
|
||||
@ -39,8 +38,6 @@ public class BeeWingListener implements Listener {
|
||||
if (player.isOnGround()) return;
|
||||
|
||||
ItemStack chestplate = player.getInventory().getChestplate();
|
||||
if (chestplate.getType() != Material.ELYTRA) return;
|
||||
|
||||
if (!SlimefunUtils.isItemSimilar(chestplate, SlimefunItems.BEE_WINGS, true) && !Slimefun.hasUnlocked(player, chestplate, true)) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user