Newline a bunch more braces...

This commit is contained in:
Spencer 2017-11-25 17:12:30 -05:00 committed by Alexander Meech
parent 01e879de07
commit 9f7fd7f19d
6 changed files with 20 additions and 9 deletions

View File

@ -52,7 +52,8 @@ public class UtilPlayerBase
((Player) client).sendMessage(message);
}
public static void messageSearchOnlineResult(Player caller, String player, int matchCount) {
public static void messageSearchOnlineResult(Player caller, String player, int matchCount)
{
message(caller, F.main("Online Player Search", "" + C.mCount + matchCount + C.mBody + " matches for [" + C.mElem + player + C.mBody + "]."));
}

View File

@ -332,7 +332,8 @@ public class UtilPlayer
UtilPlayerBase.message(client, message, wiki);
}
public static void messageSearchOnlineResult(Player caller, String player, int matchCount) {
public static void messageSearchOnlineResult(Player caller, String player, int matchCount)
{
UtilPlayerBase.messageSearchOnlineResult(caller, player, matchCount);
}

View File

@ -174,7 +174,8 @@ public class MessageManager extends MiniClientPlugin<ClientMessage>
{
String message = C.cPurple + target.getName() + " has private messaging disabled.";
if (GetClientManager().Get(target).hasPermission(Perm.SEE_ADMIN)) {
if (GetClientManager().Get(target).hasPermission(Perm.SEE_ADMIN))
{
return message + " Try using /a <message> to contact them instead!";
}

View File

@ -928,9 +928,12 @@ public class ArcadeManager extends MiniPlugin implements IRelation
GameTeam team = _game.GetTeam(event.getPlayer());
// Color their name if they are on a team
if (team != null) {
if (team != null)
{
UtilServer.broadcast(F.sys("Quit", team.GetColor() + event.getPlayer().getName()));
} else {
}
else
{
UtilServer.broadcast(F.sys("Quit", event.getPlayer().getName()));
}
@ -1462,7 +1465,8 @@ public class ArcadeManager extends MiniPlugin implements IRelation
return;
}
if (isVanished(event.getPlayer())) {
if (isVanished(event.getPlayer()))
{
UtilPlayer.message(event.getPlayer(), F.main("Game", "You cannot toggle spectator while vanished."));
return;
}

View File

@ -120,10 +120,13 @@ public class BuildData
Location topRight;
// Find the lowest corner by comparing y-values
if (CornerA.getY() < CornerB.getY()) {
if (CornerA.getY() < CornerB.getY())
{
bottomLeft = CornerA.clone();
topRight = CornerB.clone();
} else {
}
else
{
bottomLeft = CornerB.clone();
topRight = CornerA.clone();
}

View File

@ -37,7 +37,8 @@ public class ElectrocutionStatTracker extends StatTracker<Game>
GameTeam struckTeam = getGame().GetTeam(struckPlayer);
if (struckTeam != null && playerTeam != null && struckTeam == playerTeam) {
if (struckTeam != null && playerTeam != null && struckTeam == playerTeam)
{
continue;
}