From 22c761025972e64e4af597cd4ebe1f80031ec58e Mon Sep 17 00:00:00 2001 From: Esophose Date: Sun, 28 Oct 2018 04:23:23 -0600 Subject: [PATCH] Bug fix, see previous commit for details Fix wrong message showing when creating a fixed effect where you're looking and it's out of range --- .../esophose/playerparticles/command/FixedCommandModule.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/esophose/playerparticles/command/FixedCommandModule.java b/src/com/esophose/playerparticles/command/FixedCommandModule.java index 68ea126..7794c39 100644 --- a/src/com/esophose/playerparticles/command/FixedCommandModule.java +++ b/src/com/esophose/playerparticles/command/FixedCommandModule.java @@ -106,7 +106,7 @@ public class FixedCommandModule implements CommandModule { Block targetBlock = p.getTargetBlock((Set)null, 8); int maxDistanceSqrd = 6 * 6; if (targetBlock.getLocation().distanceSquared(p.getLocation()) > maxDistanceSqrd) { - LangManager.sendMessage(p, Lang.FIXED_CREATE_OUT_OF_RANGE); + LangManager.sendMessage(p, Lang.FIXED_CREATE_LOOKING_TOO_FAR); return; }