SteamWar/BauSystem2.0
Archiviert
12
0

Hotfix ScriptExecutor
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
yoyosource 2022-12-23 23:02:38 +01:00
Ursprung 1058a49f1f
Commit f7440af50a

Datei anzeigen

@ -166,7 +166,7 @@ public final class ScriptExecutor {
command = String.join(" ", strings); command = String.join(" ", strings);
Bukkit.getLogger().log(Level.INFO, player.getName() + " dispatched command: " + command); Bukkit.getLogger().log(Level.INFO, player.getName() + " dispatched command: " + command);
if (hasFAWE && WorldEditListener.isWorldEditCommand("/" + strings[0])) { if (!strings[0].equals("select") && hasFAWE && WorldEditListener.isWorldEditCommand("/" + strings[0])) {
EditSession editSession = WorldEditUtils.getEditSession(player.getWorld()); EditSession editSession = WorldEditUtils.getEditSession(player.getWorld());
WorldEditUtils.addToPlayer(player, editSession); WorldEditUtils.addToPlayer(player, editSession);
Actor actor = BukkitAdapter.adapt(player); Actor actor = BukkitAdapter.adapt(player);