SteamWar/FightSystem
Archiviert
13
1
Dieser Commit ist enthalten in:
Yaruma3341 2019-11-23 20:55:28 +01:00 committet von BuildTools
Ursprung c6459884a0
Commit 284542e23d

Datei anzeigen

@ -14,10 +14,11 @@ import org.bukkit.entity.Player;
public class LockschemCommand implements CommandExecutor { public class LockschemCommand implements CommandExecutor {
@Override @Override
public boolean onCommand(CommandSender sender, Command command, String label, String[] args) { public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
Player player = (Player) sender;
if(!(sender instanceof Player)) { if(!(sender instanceof Player)) {
return false; return false;
} }
Player player = (Player) sender;
SteamwarUser steamwarUser = SteamwarUser.get(player.getUniqueId()); SteamwarUser steamwarUser = SteamwarUser.get(player.getUniqueId());
UserGroup userGroup = steamwarUser.getUserGroup(); UserGroup userGroup = steamwarUser.getUserGroup();