mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-04 00:31:54 +00:00
bunch o changes (#200)
* Create cluescrolls.txt * tidy up * fixup ::item command * tidy up * fixup fight caves checker
This commit is contained in:
@@ -526,7 +526,7 @@ public class Commands implements PacketType {
|
||||
return;
|
||||
}
|
||||
int newItemID = Integer.parseInt(arguments[0]);
|
||||
int newItemAmount = arguments[1] != null ? Integer.parseInt(arguments[1]) : 1;
|
||||
int newItemAmount = arguments.length >= 2 ? Integer.parseInt(arguments[1]) : 1;
|
||||
if (newItemID <= 10000 && newItemID >= 0) {
|
||||
player.getItemAssistant().addItem(newItemID, newItemAmount);
|
||||
if (player.isBusy()) {
|
||||
|
||||
Reference in New Issue
Block a user