Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-15 04:20:04 +01:00
SPIGOT-4258: Add Player.updateCommands method
Dieser Commit ist enthalten in:
Ursprung
b47946ff19
Commit
15da706706
@ -1618,4 +1618,11 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
||||
public String getLocale() {
|
||||
return getHandle().locale;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updateCommands() {
|
||||
if (getHandle().playerConnection == null) return;
|
||||
|
||||
getHandle().server.getCommandDispatcher().a(getHandle());
|
||||
}
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren