mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-06-26 06:14:42 +02:00
Allow sub classes to query for ignored blocks.
This commit is contained in:
parent
f372d76272
commit
ae44be5740
|
@ -194,11 +194,11 @@ public abstract class AxisTracing implements ICollideBlocks, ISetMargins {
|
|||
}
|
||||
}
|
||||
|
||||
private boolean shouldCheckForIgnoredBlocks() {
|
||||
protected boolean shouldCheckForIgnoredBlocks() {
|
||||
return ignoreInitiallyColliding && !ignoredBlocks.isEmpty();
|
||||
}
|
||||
|
||||
private boolean isBlockIgnored(final int x, final int y, final int z) {
|
||||
protected boolean isBlockIgnored(final int x, final int y, final int z) {
|
||||
return ignoredBlocks.containsBlockPosition(x, y, z);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user