Updated to v115 with PluginListener. WorldEdit decoupled from plugin.

This commit is contained in:
sk89q
2010-10-12 13:51:25 -07:00
parent aea64916e3
commit c039e8e77d
4 changed files with 368 additions and 176 deletions

View File

@ -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.
*