forked from SteamWar/SteamWar
Format code
This commit is contained in:
@@ -50,8 +50,7 @@ public class ArenaconfigCommand extends SWCommand {
|
||||
@Register
|
||||
public void config(Player p, int lowerPlayerBorder) throws IOException {
|
||||
CuboidRegion region = getSelection(p);
|
||||
if(region == null)
|
||||
return;
|
||||
if (region == null) return;
|
||||
|
||||
BlockVector3 pos1 = region.getPos1();
|
||||
BlockVector3 pos2 = region.getPos2();
|
||||
@@ -77,7 +76,7 @@ public class ArenaconfigCommand extends SWCommand {
|
||||
.getRegionSelector(BukkitAdapter.adapt(player.getWorld()));
|
||||
|
||||
try {
|
||||
return (CuboidRegion)regionSelector.getRegion();
|
||||
return (CuboidRegion) regionSelector.getRegion();
|
||||
} catch (IncompleteRegionException e) {
|
||||
Builder.MESSAGE.send("ARENACONFIG_SELECTION", player);
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user