mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-01 04:31:58 +01:00
Implemented player.performCommand(String)
This commit is contained in:
parent
cab61f169e
commit
c2d9af58fe
1 changed files with 3 additions and 0 deletions
|
@ -106,4 +106,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
|||
entity.a.b(((Packet) (new Packet6SpawnPosition(loc.getBlockX(), loc.getBlockY(), loc.getBlockZ()))));
|
||||
}
|
||||
|
||||
public boolean performCommand(String command) {
|
||||
return server.dispatchCommand(this, command);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue