mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-14 19:55:52 -07:00
Implemented player.performCommand(String)
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
@@ -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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user