Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 04:20:08 +01:00
SPIGOT-3423: Don't treat technical piston block as BlockStateMeta
Dieser Commit ist enthalten in:
Ursprung
e03b1a556d
Commit
b5df1f59f7
@ -105,7 +105,6 @@ public final class CraftItemFactory implements ItemFactory {
|
||||
case SIGN:
|
||||
case MOB_SPAWNER:
|
||||
case NOTE_BLOCK:
|
||||
case PISTON_BASE:
|
||||
case BREWING_STAND_ITEM:
|
||||
case ENCHANTMENT_TABLE:
|
||||
case COMMAND:
|
||||
|
@ -364,7 +364,6 @@ public final class CraftItemStack extends ItemStack {
|
||||
case SIGN:
|
||||
case MOB_SPAWNER:
|
||||
case NOTE_BLOCK:
|
||||
case PISTON_BASE:
|
||||
case BREWING_STAND_ITEM:
|
||||
case ENCHANTMENT_TABLE:
|
||||
case COMMAND:
|
||||
|
@ -178,7 +178,6 @@ public class CraftMetaBlockState extends CraftMetaItem implements BlockStateMeta
|
||||
case SIGN:
|
||||
case MOB_SPAWNER:
|
||||
case NOTE_BLOCK:
|
||||
case PISTON_BASE:
|
||||
case BREWING_STAND_ITEM:
|
||||
case ENCHANTMENT_TABLE:
|
||||
case COMMAND:
|
||||
@ -384,6 +383,8 @@ public class CraftMetaBlockState extends CraftMetaItem implements BlockStateMeta
|
||||
te = new TileEntityComparator();
|
||||
}
|
||||
return new CraftComparator(material, (TileEntityComparator) te);
|
||||
case PISTON_BASE:
|
||||
|
||||
default:
|
||||
throw new IllegalStateException("Missing blockState for " + material);
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren