mirror of
https://github.com/brues-code/nampower.git
synced 2026-10-24 05:10:48 +00:00
Return error for invalid bags
This commit is contained in:
@@ -1017,7 +1017,7 @@ namespace Nampower {
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO Error for not finding the bag
|
lua_error(luaState, "Invalid bag index. Valid values: 0, 1-4, -1, 5-9 (bank)");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user