3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-11-08 17:20:24 +01:00

Fix piston tile entity crash (#443)

Dieser Commit ist enthalten in:
Mats 2016-06-22 22:37:53 +02:00 committet von Myles
Ursprung f91fcb4ea8
Commit 4af98b220c
2 geänderte Dateien mit 1 neuen und 2 gelöschten Zeilen

Datei anzeigen

@ -45,7 +45,6 @@ public class BlockEntity {
if (newId == -1) if (newId == -1)
continue; continue;
int x = (int) tag.get("x").getValue(); int x = (int) tag.get("x").getValue();
int y = (int) tag.get("y").getValue(); int y = (int) tag.get("y").getValue();
int z = (int) tag.get("z").getValue(); int z = (int) tag.get("z").getValue();

Datei anzeigen

@ -27,7 +27,7 @@ public class FakeTileEntity {
register(Arrays.asList(Material.SIGN_POST, Material.WALL_SIGN), "Sign"); register(Arrays.asList(Material.SIGN_POST, Material.WALL_SIGN), "Sign");
register(Material.MOB_SPAWNER, "MobSpawner"); register(Material.MOB_SPAWNER, "MobSpawner");
register(Material.NOTE_BLOCK, "Music"); register(Material.NOTE_BLOCK, "Music");
register(Material.PISTON_BASE, "Piston"); register(Arrays.asList(Material.PISTON_BASE, Material.PISTON_EXTENSION, Material.PISTON_STICKY_BASE, Material.PISTON_MOVING_PIECE), "Piston");
register(Arrays.asList(Material.BREWING_STAND, Material.CAULDRON), "Cauldron"); register(Arrays.asList(Material.BREWING_STAND, Material.CAULDRON), "Cauldron");
register(Material.ENCHANTMENT_TABLE, "EnchantTable"); register(Material.ENCHANTMENT_TABLE, "EnchantTable");
register(Arrays.asList(Material.ENDER_PORTAL, Material.ENDER_PORTAL_FRAME), "Airportal"); register(Arrays.asList(Material.ENDER_PORTAL, Material.ENDER_PORTAL_FRAME), "Airportal");