Dieser Commit ist enthalten in:
Ursprung
4b87b9d87e
Commit
a15aa5c373
@ -21,6 +21,7 @@ package de.steamwar.lobby.portal;
|
|||||||
|
|
||||||
import de.steamwar.comms.packets.ExecuteCommandPacket;
|
import de.steamwar.comms.packets.ExecuteCommandPacket;
|
||||||
import de.steamwar.lobby.LobbySystem;
|
import de.steamwar.lobby.LobbySystem;
|
||||||
|
import de.steamwar.lobby.command.ModifyCommand;
|
||||||
import de.steamwar.lobby.listener.Portals;
|
import de.steamwar.lobby.listener.Portals;
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
@ -79,7 +80,8 @@ public class CommandPortal implements PortalHandler {
|
|||||||
cmd.append(pieces[i]).append(parts[i+1].substring(1));
|
cmd.append(pieces[i]).append(parts[i+1].substring(1));
|
||||||
}
|
}
|
||||||
|
|
||||||
player.sendMessage("/" + cmd);
|
if(ModifyCommand.modifying(player))
|
||||||
|
player.sendMessage("/" + cmd);
|
||||||
new ExecuteCommandPacket(player, cmd.toString()).send(player);
|
new ExecuteCommandPacket(player, cmd.toString()).send(player);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren