Updated to v115 with PluginListener. WorldEdit decoupled from plugin.
This commit is contained in:
@@ -89,6 +89,15 @@ public class WorldEditPlayer {
|
||||
return player.getRotation();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the ID of the item that the player is holding.
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public int getItemInHand() {
|
||||
return player.getItemInHand();
|
||||
}
|
||||
|
||||
/**
|
||||
* Print a WorldEdit message.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user