mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2025-01-15 03:51:20 +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.
|
// TODO: More distinction necessary here.
|
||||||
if (variable){
|
if (variable){
|
||||||
// Simplistic hot fix attempt for same type + same shape.
|
// 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.
|
// TODO: Test with cactus.
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user