mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-11-19 10:25:00 +00:00
isAffectedBlock
This commit is contained in:
parent
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
|
||||||
|
Loading…
Reference in New Issue
Block a user