mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-09-06 20:18:00 +02:00
Add safeguard against the safeguard not being present.
This commit is contained in:
parent
9e16d8f2ef
commit
5e5076a7b7
@ -31,6 +31,7 @@ public class MCAccessCB2511 implements MCAccess {
|
|||||||
public MCAccessCB2511(){
|
public MCAccessCB2511(){
|
||||||
getCommandMap();
|
getCommandMap();
|
||||||
ReflectionUtil.checkMembers("net.minecraft.server.", new String[]{"Entity" , "dead"});
|
ReflectionUtil.checkMembers("net.minecraft.server.", new String[]{"Entity" , "dead"});
|
||||||
|
ReflectionUtil.checkMembers("net.minecraft.server.", new String[]{"EntityPlayer" , "netServerHandler"});
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user