mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-29 16:46:46 +01:00
debug tweak for furnaces
This commit is contained in:
parent
567a5461e1
commit
4169dceca8
@ -40,25 +40,25 @@ public class SmeltingTracker {
|
|||||||
"at location: " + furnace.getLocation().toString());
|
"at location: " + furnace.getLocation().toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
if(furnaceOwners.get(furnace) != null) {
|
}
|
||||||
OfflinePlayer furnaceOwner = furnaceOwners.get(furnace);
|
|
||||||
|
|
||||||
if(furnaceOwner.isOnline()) {
|
if(furnaceOwners.get(furnace) != null) {
|
||||||
McMMOPlayer furnaceOwnerProfile = UserManager.getPlayer(furnaceOwner.getPlayer());
|
OfflinePlayer furnaceOwner = furnaceOwners.get(furnace);
|
||||||
|
|
||||||
if(furnaceOwnerProfile != null) {
|
if(furnaceOwner.isOnline()) {
|
||||||
if(furnaceOwnerProfile.isDebugMode()) {
|
McMMOPlayer furnaceOwnerProfile = UserManager.getPlayer(furnaceOwner.getPlayer());
|
||||||
furnaceOwnerProfile.getPlayer().sendMessage("Furnace ownership " +
|
|
||||||
ChatColor.RED + "lost " + ChatColor.RESET +
|
if(furnaceOwnerProfile != null) {
|
||||||
"at location: " + furnace.getLocation().toString());
|
if(furnaceOwnerProfile.isDebugMode()) {
|
||||||
}
|
furnaceOwnerProfile.getPlayer().sendMessage("Furnace ownership " +
|
||||||
|
ChatColor.RED + "lost " + ChatColor.RESET +
|
||||||
|
"at location: " + furnace.getLocation().toString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
furnaceOwners.put(furnace, player);
|
furnaceOwners.put(furnace, player);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user