mirror of
https://github.com/songoda/EpicFurnaces.git
synced 2025-01-21 06:51:29 +01:00
Fixed name syncing.
This commit is contained in:
parent
101819461d
commit
72fd421774
@ -172,7 +172,6 @@ public class Furnace {
|
||||
}
|
||||
|
||||
private void syncName() {
|
||||
if (!(location.getBlock() instanceof Furnace)) return;
|
||||
org.bukkit.block.Furnace furnace = (org.bukkit.block.Furnace) location.getBlock().getState();
|
||||
if (ServerVersion.isServerVersionAtLeast(ServerVersion.V1_10))
|
||||
furnace.setCustomName(Methods.formatName(level.getLevel(), uses, false));
|
||||
|
Loading…
Reference in New Issue
Block a user