SPIGOT-5809: block.getState() wall signs too

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2020-06-25 20:08:32 +10:00
parent 3933b98a60
commit 4478e7e0d8
4 changed files with 12 additions and 0 deletions

View File

@@ -316,6 +316,7 @@ public class CraftBlock implements Block {
case BIRCH_SIGN:
case BIRCH_WALL_SIGN:
case CRIMSON_SIGN:
case CRIMSON_WALL_SIGN:
case DARK_OAK_SIGN:
case DARK_OAK_WALL_SIGN:
case JUNGLE_SIGN:
@@ -325,6 +326,7 @@ public class CraftBlock implements Block {
case SPRUCE_SIGN:
case SPRUCE_WALL_SIGN:
case WARPED_SIGN:
case WARPED_WALL_SIGN:
return new CraftSign(this);
case CHEST:
case TRAPPED_CHEST: