mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-11-07 03:02:11 +01:00
isOnGround: Fix shape judgment for shape-changing blocks.
This commit is contained in:
parent
8762d38020
commit
f20fc8575d
@ -1666,7 +1666,8 @@ public class BlockProperties {
|
||||
// TODO: More distinction necessary here.
|
||||
if (variable){
|
||||
// Simplistic hot fix attempt for same type + same shape.
|
||||
if (isFullBounds(bounds) || isSameShape(bounds, aboveBounds)){
|
||||
// TODO: Needs passable workaround check.
|
||||
if (isFullBounds(aboveBounds) || isSameShape(bounds, aboveBounds)){
|
||||
// TODO: Test with cactus.
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user