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().setFlySpeed(0.1f);
|
||||||
user.getBase().setWalkSpeed(0.2f);
|
user.getBase().setWalkSpeed(0.2f);
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user