geforkt von Mirrors/FastAsyncWorldEdit
isAffectedBlock
Dieser Commit ist enthalten in:
Ursprung
664a7017b6
Commit
13b602cb83
@ -36,13 +36,7 @@ public class SignCompatibilityHandler implements NBTCompatibilityHandler {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public <B extends BlockStateHolder<B>> boolean isAffectedBlock(B block) {
|
public <B extends BlockStateHolder<B>> boolean isAffectedBlock(B block) {
|
||||||
switch (block.getBlockType().getInternalId()) {
|
return block.getBlockType() == BlockTypes.SIGN || block.getBlockType() == BlockTypes.WALL_SIGN;
|
||||||
case BlockID.SIGN:
|
|
||||||
case BlockID.WALL_SIGN:
|
|
||||||
return true;
|
|
||||||
default:
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren