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:
Ursprung
f91fcb4ea8
Commit
4af98b220c
@ -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();
|
||||||
|
@ -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");
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren