forked from SteamWar/SteamWar
Format code
This commit is contained in:
@@ -60,8 +60,7 @@ public class HologramCommand extends SWCommand {
|
||||
if (PortalCommand.noPermissions(player)) return;
|
||||
|
||||
Hologram hologram = Hologram.getHologram(id);
|
||||
if (hologram == null)
|
||||
return;
|
||||
if (hologram == null) return;
|
||||
|
||||
hologram.delete();
|
||||
LobbySystem.config().save();
|
||||
|
||||
@@ -82,8 +82,7 @@ public class ModifyCommand extends SWCommand implements Listener {
|
||||
@Register("waitinghallspawn")
|
||||
public void setWaitingHallSpawn(Player player) {
|
||||
SteamwarUser user = SteamwarUser.get(player.getUniqueId());
|
||||
if (!user.hasPerm(UserPerm.ADMINISTRATION))
|
||||
return;
|
||||
if (!user.hasPerm(UserPerm.ADMINISTRATION)) return;
|
||||
|
||||
LobbySystem.config().setWaitingHallSpawn(player.getLocation());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user