From a69d6daa450b7be39f5accf1af36f9fbaf8dbcce Mon Sep 17 00:00:00 2001 From: Marcel Konrad Date: Wed, 29 Jul 2020 13:18:23 +0200 Subject: [PATCH] Followup to previous commit --- .../java/exopandora/worldhandler/command/CommandWH.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/exopandora/worldhandler/command/CommandWH.java b/src/main/java/exopandora/worldhandler/command/CommandWH.java index 6aca023..35668bb 100644 --- a/src/main/java/exopandora/worldhandler/command/CommandWH.java +++ b/src/main/java/exopandora/worldhandler/command/CommandWH.java @@ -110,7 +110,7 @@ public class CommandWH { BuilderFill builder = new BuilderFill(); builder.setBlock1(new BlockResourceLocation(block.getState().getBlock().getRegistryName(), block.getState(), block.tag)); - CommandHelper.sendCommand(builder); + CommandHelper.sendCommand(source.getName(), builder); } }); @@ -132,7 +132,7 @@ public class CommandWH builder.setBlockHandling(EnumBlockFilter.REPLACE); builder.setBlock1(new BlockResourceLocation(replace.getState().getBlock().getRegistryName(), replace.getState(), replace.tag)); builder.setBlock2(new BlockResourceLocation(block.getState().getBlock().getRegistryName(), block.getState(), block.tag)); - CommandHelper.sendCommand(builder); + CommandHelper.sendCommand(source.getName(), builder); } }); @@ -153,7 +153,7 @@ public class CommandWH builder.setPosition2(BlockHelper.getPos2()); builder.setMask(EnumHelper.valueOf(mask, EnumMask.class)); builder.setFilter(filter); - CommandHelper.sendCommand(builder); + CommandHelper.sendCommand(source.getName(), builder); } }); @@ -173,7 +173,7 @@ public class CommandWH builder.setPosition1(BlockHelper.getPos1()); builder.setPosition2(BlockHelper.getPos2()); builder.setMask(EnumHelper.valueOf(mask, EnumMask.class)); - CommandHelper.sendCommand(builder); + CommandHelper.sendCommand(source.getName(), builder); } });