mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-26 19:18:29 +01:00
Formatting fixes.
This commit is contained in:
parent
d1c014fe16
commit
7907565377
@ -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,11 +273,11 @@ 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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user