fix anvil hologram and particles not showing up after placing an anvil

This commit is contained in:
Aurora 2020-08-07 22:01:21 +02:00
parent 9b0d3dd6ce
commit ce4e72ce43

View File

@ -27,7 +27,10 @@ public class BlockListeners implements Listener {
return;
}
instance.getAnvilManager().getAnvil(event.getBlock()).setPermPlaced(true);
UAnvil anvil = instance.getAnvilManager().getAnvil(event.getBlock());
anvil.setParticles(true);
anvil.setHologram(true);
anvil.setPermPlaced(true);
}
@EventHandler(priority = EventPriority.HIGHEST, ignoreCancelled = true)