From 6d609f499069ed4ae4e808ccc446c6acda51cdec Mon Sep 17 00:00:00 2001 From: Draknyte1 Date: Fri, 20 Jan 2017 16:56:01 +1000 Subject: + Added a new kind of logging message, just for machines, so that people may debug them easily without TOTAL DEBUG mode. + Added support for the TreeFarmer to use Saws/Buzzsaws to cut things. They are now required. + Added a GUI for the Tree Farmer. + Added a custom slot class just for Buzzsaw and Saw items. % Tweaked power handling for findLogs() in the Tree Farmer class, it wasn't checking the internal power buffer. --- src/Java/gtPlusPlus/core/handler/events/LoginEventHandler.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Java/gtPlusPlus/core/handler') diff --git a/src/Java/gtPlusPlus/core/handler/events/LoginEventHandler.java b/src/Java/gtPlusPlus/core/handler/events/LoginEventHandler.java index a50524122b..d5764fa86b 100644 --- a/src/Java/gtPlusPlus/core/handler/events/LoginEventHandler.java +++ b/src/Java/gtPlusPlus/core/handler/events/LoginEventHandler.java @@ -1,6 +1,7 @@ package gtPlusPlus.core.handler.events; import gtPlusPlus.core.lib.CORE; +import gtPlusPlus.core.proxy.ClientProxy; import gtPlusPlus.core.util.Utils; import gtPlusPlus.core.util.player.PlayerCache; import gtPlusPlus.core.util.player.PlayerUtils; @@ -24,6 +25,9 @@ public class LoginEventHandler { this.localPlayerRef = event.player; this.localPlayersName = event.player.getDisplayName(); this.localPlayersUUID = event.player.getUniqueID(); + + //Set this for easier use elsewhere. + ClientProxy.playerName = this.localPlayersName; try { -- cgit