mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-06 22:56:41 +02:00
Formatting fixes.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user