Fixed bug

This commit is contained in:
Auxilor 2021-10-02 13:42:06 +01:00
parent ad7b7130c2
commit b8127c244c

View File

@ -66,10 +66,6 @@ public class AnvilListeners extends PluginDependent<EcoPlugin> implements Listen
ItemStack left = event.getInventory().getItem(0);
ItemStack right = event.getInventory().getItem(1);
ItemStack out = event.getResult();
// Allow other plugin to use event anvil
if (out == null) {
return;
}
String name = event.getInventory().getRenameText();
if (event.getViewers().isEmpty()) {