Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-20 05:20:07 +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 OAK_WALL_SIGN:
|
||||||
case SPRUCE_SIGN:
|
case SPRUCE_SIGN:
|
||||||
case SPRUCE_WALL_SIGN:
|
case SPRUCE_WALL_SIGN:
|
||||||
|
case WARPED_SIGN:
|
||||||
return new CraftSign(this);
|
return new CraftSign(this);
|
||||||
case CHEST:
|
case CHEST:
|
||||||
case TRAPPED_CHEST:
|
case TRAPPED_CHEST:
|
||||||
|
@ -208,6 +208,7 @@ public final class CraftItemFactory implements ItemFactory {
|
|||||||
case OAK_WALL_SIGN:
|
case OAK_WALL_SIGN:
|
||||||
case SPRUCE_SIGN:
|
case SPRUCE_SIGN:
|
||||||
case SPRUCE_WALL_SIGN:
|
case SPRUCE_WALL_SIGN:
|
||||||
|
case WARPED_SIGN:
|
||||||
case SPAWNER:
|
case SPAWNER:
|
||||||
case BREWING_STAND:
|
case BREWING_STAND:
|
||||||
case ENCHANTING_TABLE:
|
case ENCHANTING_TABLE:
|
||||||
|
@ -477,6 +477,7 @@ public final class CraftItemStack extends ItemStack {
|
|||||||
case OAK_WALL_SIGN:
|
case OAK_WALL_SIGN:
|
||||||
case SPRUCE_SIGN:
|
case SPRUCE_SIGN:
|
||||||
case SPRUCE_WALL_SIGN:
|
case SPRUCE_WALL_SIGN:
|
||||||
|
case WARPED_SIGN:
|
||||||
case SPAWNER:
|
case SPAWNER:
|
||||||
case BREWING_STAND:
|
case BREWING_STAND:
|
||||||
case ENCHANTING_TABLE:
|
case ENCHANTING_TABLE:
|
||||||
|
@ -203,6 +203,7 @@ public class CraftMetaBlockState extends CraftMetaItem implements BlockStateMeta
|
|||||||
case OAK_WALL_SIGN:
|
case OAK_WALL_SIGN:
|
||||||
case SPRUCE_SIGN:
|
case SPRUCE_SIGN:
|
||||||
case SPRUCE_WALL_SIGN:
|
case SPRUCE_WALL_SIGN:
|
||||||
|
case WARPED_SIGN:
|
||||||
case SPAWNER:
|
case SPAWNER:
|
||||||
case BREWING_STAND:
|
case BREWING_STAND:
|
||||||
case ENCHANTING_TABLE:
|
case ENCHANTING_TABLE:
|
||||||
@ -308,6 +309,7 @@ public class CraftMetaBlockState extends CraftMetaItem implements BlockStateMeta
|
|||||||
case OAK_WALL_SIGN:
|
case OAK_WALL_SIGN:
|
||||||
case SPRUCE_SIGN:
|
case SPRUCE_SIGN:
|
||||||
case SPRUCE_WALL_SIGN:
|
case SPRUCE_WALL_SIGN:
|
||||||
|
case WARPED_SIGN:
|
||||||
if (te == null) {
|
if (te == null) {
|
||||||
te = new TileEntitySign();
|
te = new TileEntitySign();
|
||||||
}
|
}
|
||||||
@ -537,6 +539,7 @@ public class CraftMetaBlockState extends CraftMetaItem implements BlockStateMeta
|
|||||||
case OAK_WALL_SIGN:
|
case OAK_WALL_SIGN:
|
||||||
case SPRUCE_SIGN:
|
case SPRUCE_SIGN:
|
||||||
case SPRUCE_WALL_SIGN:
|
case SPRUCE_WALL_SIGN:
|
||||||
|
case WARPED_SIGN:
|
||||||
valid = blockState instanceof CraftSign;
|
valid = blockState instanceof CraftSign;
|
||||||
break;
|
break;
|
||||||
case CHEST:
|
case CHEST:
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren