Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 12:30:06 +01:00
SPIGOT-5809: block.getState() instanceof Sign for warped_sign missed
Dieser Commit ist enthalten in:
Ursprung
8dc1da156f
Commit
9a3bd97f60
@ -323,6 +323,7 @@ public class CraftBlock implements Block {
|
||||
case OAK_WALL_SIGN:
|
||||
case SPRUCE_SIGN:
|
||||
case SPRUCE_WALL_SIGN:
|
||||
case WARPED_SIGN:
|
||||
return new CraftSign(this);
|
||||
case CHEST:
|
||||
case TRAPPED_CHEST:
|
||||
|
@ -208,6 +208,7 @@ public final class CraftItemFactory implements ItemFactory {
|
||||
case OAK_WALL_SIGN:
|
||||
case SPRUCE_SIGN:
|
||||
case SPRUCE_WALL_SIGN:
|
||||
case WARPED_SIGN:
|
||||
case SPAWNER:
|
||||
case BREWING_STAND:
|
||||
case ENCHANTING_TABLE:
|
||||
|
@ -477,6 +477,7 @@ public final class CraftItemStack extends ItemStack {
|
||||
case OAK_WALL_SIGN:
|
||||
case SPRUCE_SIGN:
|
||||
case SPRUCE_WALL_SIGN:
|
||||
case WARPED_SIGN:
|
||||
case SPAWNER:
|
||||
case BREWING_STAND:
|
||||
case ENCHANTING_TABLE:
|
||||
|
@ -203,6 +203,7 @@ public class CraftMetaBlockState extends CraftMetaItem implements BlockStateMeta
|
||||
case OAK_WALL_SIGN:
|
||||
case SPRUCE_SIGN:
|
||||
case SPRUCE_WALL_SIGN:
|
||||
case WARPED_SIGN:
|
||||
case SPAWNER:
|
||||
case BREWING_STAND:
|
||||
case ENCHANTING_TABLE:
|
||||
@ -308,6 +309,7 @@ public class CraftMetaBlockState extends CraftMetaItem implements BlockStateMeta
|
||||
case OAK_WALL_SIGN:
|
||||
case SPRUCE_SIGN:
|
||||
case SPRUCE_WALL_SIGN:
|
||||
case WARPED_SIGN:
|
||||
if (te == null) {
|
||||
te = new TileEntitySign();
|
||||
}
|
||||
@ -537,6 +539,7 @@ public class CraftMetaBlockState extends CraftMetaItem implements BlockStateMeta
|
||||
case OAK_WALL_SIGN:
|
||||
case SPRUCE_SIGN:
|
||||
case SPRUCE_WALL_SIGN:
|
||||
case WARPED_SIGN:
|
||||
valid = blockState instanceof CraftSign;
|
||||
break;
|
||||
case CHEST:
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren