fix(Core/Command): additem checks (#2898)

* Add check if the player has 0 items to be destroyed

* Add check if the player has less than items trying to be destroyed
This commit is contained in:
Kitzunu
2020-05-18 21:13:29 +02:00
committed by GitHub
parent 9097cf26ab
commit 7f3945e13e
3 changed files with 29 additions and 3 deletions

View File

@@ -1314,6 +1314,9 @@ enum AcoreStrings
LANG_INSTANT_FLIGHT_ON = 30078,
LANG_INSTANT_FLIGHT_OFF = 30079,
LANG_DEBUG_OPCODE_FILE_MISSING = 30080
LANG_DEBUG_OPCODE_FILE_MISSING = 30080,
LANG_REMOVEITEM_FAILURE = 30081,
LANG_REMOVEITEM_ERROR = 30082
};
#endif