1
0
forked from xjboss/KCauldronX
KCauldronX/patches/net/minecraft/server/management/UserListOps.java.patch

13 lines
503 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,7 +35,8 @@
2015-03-22 17:38:04 +00:00
protected String func_152699_b(GameProfile p_152699_1_)
{
- return p_152699_1_.getId().toString();
+ if (p_152699_1_ == null) return "invalid"; // Cauldron - handle GameProfiles with no ID
+ return p_152699_1_.getName().toLowerCase();
2015-03-22 17:38:04 +00:00
}
public GameProfile func_152700_a(String p_152700_1_)