mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-09-27 14:13:11 +02:00
Don't use the pre-1.11 method past 1.11.
This commit is contained in:
parent
ac825516ad
commit
a4e106af52
@ -105,9 +105,8 @@ public class ReflectBlock implements IReflectBlock {
|
||||
return nmsFetchAABB;
|
||||
}
|
||||
}
|
||||
|
||||
// Legacy (pre 1.11, possibly even before.)
|
||||
if (nmsFetchAABB == null) {
|
||||
else if (nmsFetchAABB == null) {
|
||||
nmsFetchAABB = ReflectionUtil.getMethod(nmsClass, "a",
|
||||
reflectIBlockData.nmsClass, reflectIBlockAccess.nmsClass, reflectBlockPosition.nmsClass);
|
||||
if (nmsFetchAABB != null
|
||||
|
Loading…
Reference in New Issue
Block a user