Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 12:30:06 +01:00
SPIGOT-3561: Fix selectors in SuccessCount
Dieser Commit ist enthalten in:
Ursprung
9e3636d82a
Commit
876d22cd55
@ -114,6 +114,7 @@ public final class VanillaCommandWrapper extends BukkitCommand {
|
|||||||
chatmessage.getChatModifier().setColor(EnumChatFormat.RED);
|
chatmessage.getChatModifier().setColor(EnumChatFormat.RED);
|
||||||
icommandlistener.sendMessage(chatmessage);
|
icommandlistener.sendMessage(chatmessage);
|
||||||
}
|
}
|
||||||
|
icommandlistener.a(CommandObjectiveExecutor.EnumCommandResult.SUCCESS_COUNT, j);
|
||||||
} catch (ExceptionUsage exceptionusage) {
|
} catch (ExceptionUsage exceptionusage) {
|
||||||
ChatMessage chatmessage1 = new ChatMessage("commands.generic.usage", new Object[] { new ChatMessage(exceptionusage.getMessage(), exceptionusage.getArgs()) });
|
ChatMessage chatmessage1 = new ChatMessage("commands.generic.usage", new Object[] { new ChatMessage(exceptionusage.getMessage(), exceptionusage.getArgs()) });
|
||||||
chatmessage1.getChatModifier().setColor(EnumChatFormat.RED);
|
chatmessage1.getChatModifier().setColor(EnumChatFormat.RED);
|
||||||
@ -135,7 +136,6 @@ public final class VanillaCommandWrapper extends BukkitCommand {
|
|||||||
} finally {
|
} finally {
|
||||||
MinecraftServer.getServer().worldServer = prev;
|
MinecraftServer.getServer().worldServer = prev;
|
||||||
}
|
}
|
||||||
icommandlistener.a(CommandObjectiveExecutor.EnumCommandResult.SUCCESS_COUNT, j);
|
|
||||||
return j;
|
return j;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren