Fix chunk listener detection
This commit is contained in:
parent
124cc02350
commit
3182441e66
@ -237,8 +237,8 @@ public abstract class ChunkListener implements Listener {
|
||||
StackTraceElement elem = getElement(e, frame);
|
||||
if (elem != null) {
|
||||
String methodName = elem.getMethodName();
|
||||
// setAir (hacky, but this needs to be efficient)
|
||||
if (methodName.charAt(0) == 's' && methodName.length() == 6) {
|
||||
// setAir | setTypeAndData (hacky, but this needs to be efficient)
|
||||
if (methodName.charAt(0) == 's' && methodName.length() == 6 || methodName.length() == 14) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user