Port fix inventoryImports command

Fix the inventory imports command trying to count up the removed quick
bar slots as well as using player_main instead of character_main.

Add warning that the lua commands file containing the unminified vesion
of the command has not been kept up to date.  There are multiple changes
that has been done previously so these have already diverged.

This is a port of 10414eb.
This commit is contained in:
Hornwitser committed 2019-11-15 15:39:20 +01:00
1 parent 7359f9075e
commit 7c79ea44b6
3 files changed
+7 -1

No files matched your search

@@ -1,3 +1,4 @@
-- WARNING: The commands in this file is not in sync with interfacingFunctions.js
-- Lua cheatsheet
/c game.write_file("test.txt",serpent.block(game.players["Danielv123"].get_quickbar().get_contents()))