3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-19 21:10:10 +01:00

SPIGOT-5809: block.getState() instanceof Sign for warped_sign missed

Dieser Commit ist enthalten in:
md_5 2020-06-25 19:22:27 +10:00
Ursprung 8dc1da156f
Commit 9a3bd97f60
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: E8E901AC7C617C11
4 geänderte Dateien mit 6 neuen und 0 gelöschten Zeilen

Datei anzeigen

@ -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:

Datei anzeigen

@ -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:

Datei anzeigen

@ -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:

Datei anzeigen

@ -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: