aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/core/handler
diff options
context:
space:
mode:
authorDraknyte1 <Draknyte1@hotmail.com>2017-01-20 16:56:01 +1000
committerDraknyte1 <Draknyte1@hotmail.com>2017-01-20 16:56:01 +1000
commit6d609f499069ed4ae4e808ccc446c6acda51cdec (patch)
tree001f5b44c6326911a4c765725cc7820628c4ffab /src/Java/gtPlusPlus/core/handler
parenta6bb1b33da251f4a2ec7a6d6facb4864e9905341 (diff)
downloadGT5-Unofficial-6d609f499069ed4ae4e808ccc446c6acda51cdec.tar.gz
GT5-Unofficial-6d609f499069ed4ae4e808ccc446c6acda51cdec.tar.bz2
GT5-Unofficial-6d609f499069ed4ae4e808ccc446c6acda51cdec.zip
+ 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.
Diffstat (limited to 'src/Java/gtPlusPlus/core/handler')
-rw-r--r--src/Java/gtPlusPlus/core/handler/events/LoginEventHandler.java4
1 files changed, 4 insertions, 0 deletions
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 {