geforkt von Mirrors/Paper
SPIGOT-5809: block.getState() wall signs too
Dieser Commit ist enthalten in:
Ursprung
68b98b3d24
Commit
3f0c333870
@ -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:
|
||||
|
@ -201,6 +201,7 @@ public final class CraftItemFactory implements ItemFactory {
|
||||
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:
|
||||
@ -210,6 +211,7 @@ public final class CraftItemFactory implements ItemFactory {
|
||||
case SPRUCE_SIGN:
|
||||
case SPRUCE_WALL_SIGN:
|
||||
case WARPED_SIGN:
|
||||
case WARPED_WALL_SIGN:
|
||||
case SPAWNER:
|
||||
case BREWING_STAND:
|
||||
case ENCHANTING_TABLE:
|
||||
|
@ -470,6 +470,7 @@ public final class CraftItemStack extends ItemStack {
|
||||
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:
|
||||
@ -479,6 +480,7 @@ public final class CraftItemStack extends ItemStack {
|
||||
case SPRUCE_SIGN:
|
||||
case SPRUCE_WALL_SIGN:
|
||||
case WARPED_SIGN:
|
||||
case WARPED_WALL_SIGN:
|
||||
case SPAWNER:
|
||||
case BREWING_STAND:
|
||||
case ENCHANTING_TABLE:
|
||||
|
@ -196,6 +196,7 @@ public class CraftMetaBlockState extends CraftMetaItem implements BlockStateMeta
|
||||
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:
|
||||
@ -205,6 +206,7 @@ public class CraftMetaBlockState extends CraftMetaItem implements BlockStateMeta
|
||||
case SPRUCE_SIGN:
|
||||
case SPRUCE_WALL_SIGN:
|
||||
case WARPED_SIGN:
|
||||
case WARPED_WALL_SIGN:
|
||||
case SPAWNER:
|
||||
case BREWING_STAND:
|
||||
case ENCHANTING_TABLE:
|
||||
@ -303,6 +305,7 @@ public class CraftMetaBlockState extends CraftMetaItem implements BlockStateMeta
|
||||
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:
|
||||
@ -312,6 +315,7 @@ public class CraftMetaBlockState extends CraftMetaItem implements BlockStateMeta
|
||||
case SPRUCE_SIGN:
|
||||
case SPRUCE_WALL_SIGN:
|
||||
case WARPED_SIGN:
|
||||
case WARPED_WALL_SIGN:
|
||||
if (te == null) {
|
||||
te = new TileEntitySign();
|
||||
}
|
||||
@ -534,6 +538,7 @@ public class CraftMetaBlockState extends CraftMetaItem implements BlockStateMeta
|
||||
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:
|
||||
@ -543,6 +548,7 @@ public class CraftMetaBlockState extends CraftMetaItem implements BlockStateMeta
|
||||
case SPRUCE_SIGN:
|
||||
case SPRUCE_WALL_SIGN:
|
||||
case WARPED_SIGN:
|
||||
case WARPED_WALL_SIGN:
|
||||
valid = blockState instanceof CraftSign;
|
||||
break;
|
||||
case CHEST:
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren