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());
|
||||
}
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren