Formatting fixes.

This commit is contained in:
KHobbits 2014-07-19 20:11:45 +01:00
parent d1c014fe16
commit 7907565377
2 changed files with 8 additions and 7 deletions

View File

@ -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().setFlySpeed(0.1f);
user.getBase().setWalkSpeed(0.2f); user.getBase().setWalkSpeed(0.2f);
} }

View File

@ -273,12 +273,12 @@ public class SignBlockListener implements Listener
{ {
final Block pistonBaseBlock = event.getBlock(); final Block pistonBaseBlock = event.getBlock();
final Block[] affectedBlocks = new Block[] final Block[] affectedBlocks = new Block[]
{ {
pistonBaseBlock, pistonBaseBlock,
pistonBaseBlock.getRelative(event.getDirection()), pistonBaseBlock.getRelative(event.getDirection()),
event.getRetractLocation().getBlock() event.getRetractLocation().getBlock()
}; };
for (Block block : affectedBlocks) for (Block block : affectedBlocks)
{ {
if (((block.getType() == WALL_SIGN if (((block.getType() == WALL_SIGN