- All Implemented Interfaces:
Command
-
Constructor Summary
Constructors
-
Method Summary
boolean
Action a command to add an item to a player's inventory
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
AddItemCommand
public AddItemCommand()
-
Method Details
-
action
Action a command to add an item to a player's inventory
- Specified by:
action
in interface Command
- Parameters:
args
- command args
- Returns:
- command was successful