debug tweaks

This commit is contained in:
nossr50 2020-07-30 11:17:08 -07:00
parent 270298c265
commit 9266a54fce

View File

@ -92,6 +92,13 @@ public class SmeltingTracker {
if(!Permissions.skillEnabled(player, PrimarySkillType.SMELTING))
return;
//Don't swap ownership if its the same player
if(getFurnaceOwner(furnace) != null) {
if(getFurnaceOwner(furnace).getUniqueId().equals(player.getUniqueId()))
return;
}
changeFurnaceOwnership(furnace, player);
}
}