Opps
This commit is contained in:
parent
d20abcb223
commit
8ac42f97c1
@ -305,7 +305,7 @@ public class DisguiseUtilities {
|
|||||||
try {
|
try {
|
||||||
Field field = ReflectionManager.getNmsClass("PlayerConnection").getDeclaredField("processedDisconnect");
|
Field field = ReflectionManager.getNmsClass("PlayerConnection").getDeclaredField("processedDisconnect");
|
||||||
field.setAccessible(true);
|
field.setAccessible(true);
|
||||||
if (field.getBoolean(ReflectionManager.getNmsClass("EntityPlayer").getField("playerConnection")
|
if (!field.getBoolean(ReflectionManager.getNmsClass("EntityPlayer").getField("playerConnection")
|
||||||
.get(p.getClass().getDeclaredMethod("getHandle").invoke(p))))
|
.get(p.getClass().getDeclaredMethod("getHandle").invoke(p))))
|
||||||
return p.getUniqueId();
|
return p.getUniqueId();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user