Fix /minecraft:... commands in script system
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
ab35286f97
Commit
7ae525391e
@ -135,6 +135,9 @@ public final class ScriptExecutor {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (strings[0].contains(":")) {
|
||||
continue;
|
||||
}
|
||||
|
||||
PlayerCommandPreprocessEvent preprocessEvent = new PlayerCommandPreprocessEvent(player, "/" + (specialCommand != null && command.startsWith(specialCommand) ? "script:" : "") + command);
|
||||
Bukkit.getServer().getPluginManager().callEvent(preprocessEvent);
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren