Default piston block entity direction to DOWN (#12039)
This commit is contained in:
@@ -50,7 +50,12 @@ public abstract class CraftBlockEntityState<T extends BlockEntity> extends Craft
|
||||
if (thr instanceof ThreadDeath) {
|
||||
throw (ThreadDeath)thr;
|
||||
}
|
||||
throw new RuntimeException("Failed to read BlockState at: world: " + this.getWorld().getName() + " location: (" + this.getX() + ", " + this.getY() + ", " + this.getZ() + ")", thr);
|
||||
throw new RuntimeException(
|
||||
world == null
|
||||
? "Failed to read non-placed BlockState"
|
||||
: "Failed to read BlockState at: world: " + world.getName() + " location: (" + this.getX() + ", " + this.getY() + ", " + this.getZ() + ")",
|
||||
thr
|
||||
);
|
||||
}
|
||||
// Paper end - Show blockstate location if we failed to read it
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user