13
0

Fix modifying
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
Lixfel 2022-03-26 11:42:49 +01:00
Ursprung 4b87b9d87e
Commit a15aa5c373

Datei anzeigen

@ -21,6 +21,7 @@ package de.steamwar.lobby.portal;
import de.steamwar.comms.packets.ExecuteCommandPacket;
import de.steamwar.lobby.LobbySystem;
import de.steamwar.lobby.command.ModifyCommand;
import de.steamwar.lobby.listener.Portals;
import org.bukkit.Location;
import org.bukkit.entity.Player;
@ -79,6 +80,7 @@ public class CommandPortal implements PortalHandler {
cmd.append(pieces[i]).append(parts[i+1].substring(1));
}
if(ModifyCommand.modifying(player))
player.sendMessage("/" + cmd);
new ExecuteCommandPacket(player, cmd.toString()).send(player);
}