mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-30 16:19:03 +01:00
Implemented player.performCommand(String)
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
78473d2dd4
commit
991af11e0b
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()))));
|
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