Fix trap door on top side above ladder.

(Typical last-minute addition over-doing workaround confinement.)
This commit is contained in:
asofold 2016-06-07 13:42:18 +02:00
parent 129733a32f
commit 6ff2578653

View File

@ -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;