diff --git a/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java b/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java index 32e69fcde..f11182271 100644 --- a/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java +++ b/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java @@ -332,7 +332,8 @@ public class EssentialsPlayerListener implements Listener } } - if (!user.isAuthorized("essentials.speed")) { + if (!user.isAuthorized("essentials.speed")) + { user.getBase().setFlySpeed(0.1f); user.getBase().setWalkSpeed(0.2f); } diff --git a/Essentials/src/com/earth2me/essentials/signs/SignBlockListener.java b/Essentials/src/com/earth2me/essentials/signs/SignBlockListener.java index e59245596..9b4e87d93 100644 --- a/Essentials/src/com/earth2me/essentials/signs/SignBlockListener.java +++ b/Essentials/src/com/earth2me/essentials/signs/SignBlockListener.java @@ -273,12 +273,12 @@ public class SignBlockListener implements Listener { final Block pistonBaseBlock = event.getBlock(); final Block[] affectedBlocks = new Block[] - { - pistonBaseBlock, - pistonBaseBlock.getRelative(event.getDirection()), - event.getRetractLocation().getBlock() - }; - + { + pistonBaseBlock, + pistonBaseBlock.getRelative(event.getDirection()), + event.getRetractLocation().getBlock() + }; + for (Block block : affectedBlocks) { if (((block.getType() == WALL_SIGN