mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
debug tweaks
This commit is contained in:
parent
270298c265
commit
9266a54fce
@ -92,6 +92,13 @@ public class SmeltingTracker {
|
|||||||
if(!Permissions.skillEnabled(player, PrimarySkillType.SMELTING))
|
if(!Permissions.skillEnabled(player, PrimarySkillType.SMELTING))
|
||||||
return;
|
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);
|
changeFurnaceOwnership(furnace, player);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user