mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-11-26 15:45:12 +01:00
Fixed bug
This commit is contained in:
parent
ad7b7130c2
commit
b8127c244c
@ -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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user