From 0fd6f559ac8874ae9ba84525581b1c514569c0c6 Mon Sep 17 00:00:00 2001 From: Nameless-123 <53367549+Nameless-123@users.noreply.github.com> Date: Wed, 22 Apr 2020 10:38:07 +0200 Subject: [PATCH] undoingn egyptian braces seriously gnemobn, what do you have against them? --- src/main/java/carpet/commands/DrawCommand.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/carpet/commands/DrawCommand.java b/src/main/java/carpet/commands/DrawCommand.java index ee57d491..8cffb9ae 100644 --- a/src/main/java/carpet/commands/DrawCommand.java +++ b/src/main/java/carpet/commands/DrawCommand.java @@ -186,7 +186,8 @@ public class DrawCommand { mbpos.set(pos.getX() + xmod * x, pos.getY() + ymod * y, pos.getZ() + zmod * z); if (replacement == null - || replacement.test(new CachedBlockPosition(world, mbpos, true))) { + || replacement.test(new CachedBlockPosition(world, mbpos, true))) + { BlockEntity tileentity = world.getBlockEntity(mbpos); if (tileentity instanceof Inventory) {