Skip to content

Commit c75d494

Browse files
committed
Some extra debug stuff trying to find null pointers in 1.8.1
1 parent 99832f7 commit c75d494

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

313 KB
Binary file not shown.

multichat/src/main/java/xyz/olivermartin/multichat/bungee/Channel.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@ public void sendMessage(ProxiedPlayer sender, String message, String format) {
176176

177177
DebugManager.log("NULL POINTER WAS DETECTED CHECKS!");
178178
DebugManager.log("< START >");
179-
DebugManager.log(sender.getName());
180-
DebugManager.log(receiver.getUniqueId().toString());
179+
DebugManager.log(sender != null ? sender.getName() : "SENDER NULL");
180+
DebugManager.log(receiver != null ? receiver.getUniqueId().toString() : "RECEIVER NULL");
181181
DebugManager.log("< / END >");
182182

183183
}

0 commit comments

Comments
 (0)