mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-06 20:56:41 +00:00
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