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);
|
StackTraceElement elem = getElement(e, frame);
|
||||||
if (elem != null) {
|
if (elem != null) {
|
||||||
String methodName = elem.getMethodName();
|
String methodName = elem.getMethodName();
|
||||||
// setAir (hacky, but this needs to be efficient)
|
// setAir | setTypeAndData (hacky, but this needs to be efficient)
|
||||||
if (methodName.charAt(0) == 's' && methodName.length() == 6) {
|
if (methodName.charAt(0) == 's' && methodName.length() == 6 || methodName.length() == 14) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user