[0.11.3] Blueprint icon index out of bounds
Posted: Mon Nov 17, 2014 9:07 pm
The blueprint API can only set 3 icons, the 4th gives an error.
Steps to reproduce:
1. Put a working blueprint in the first slot of your toolbar.
2. Run this command:
You get the error message, "Cannot execute command. Error: [game.player.getinventory...]:1:Index out of bounds."
Also, setting index = 0 crashes the game.
Steps to reproduce:
1. Put a working blueprint in the first slot of your toolbar.
2. Run this command:
Code: Select all
/c game.player.getinventory(1).getitemstack(1).blueprinticons = {{index=1,name="lab"},{index=2,name="lab"},{index=3,name="lab"},{index=4,name="lab"}}
Also, setting index = 0 crashes the game.