mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-06-26 06:14:42 +02:00
Fix trap door on top side above ladder.
(Typical last-minute addition over-doing workaround confinement.)
This commit is contained in:
parent
129733a32f
commit
6ff2578653
|
@ -1675,10 +1675,7 @@ public class BlockProperties {
|
|||
}
|
||||
// TODO: Really confine to trap door types (add a flag or something else)?
|
||||
final int data1 = access.getData(x, y, z);
|
||||
// Trap door must be attached to the bottom half of the block.
|
||||
if ((data1 & 0x08) != 0) {
|
||||
return false;
|
||||
}
|
||||
// (Trap door may be attached to top or bottom, regardless.)
|
||||
// Trap door must be open (really?).
|
||||
if ((data1 & 0x04) != 0x04) {
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue
Block a user