mirror of
https://github.com/songoda/UltimateRepairing.git
synced 2024-11-29 14:06:30 +01:00
fix anvil hologram and particles not showing up after placing an anvil
This commit is contained in:
parent
9b0d3dd6ce
commit
ce4e72ce43
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user