3
0
KCauldronX/patches/net/minecraft/server/management/UserListOps.java.patch

11 lines
423 B
Diff
Raw Normal View History

2015-03-22 17:38:04 +00:00
--- ../src-base/minecraft/net/minecraft/server/management/UserListOps.java
+++ ../src-work/minecraft/net/minecraft/server/management/UserListOps.java
@@ -35,6 +35,7 @@
protected String func_152699_b(GameProfile p_152699_1_)
{
+ if (p_152699_1_ == null || p_152699_1_.getId() == null) return "invalid"; // Cauldron - handle GameProfiles with no ID
return p_152699_1_.getId().toString();
}