You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if feature or bug.
Became problem on my server as i have the animals_modpack npc archer gaurd and its arrows cause a crash 2019-05-02 22:26:38: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod '' in callback luaentity_Step(): Runtime error from mod '' in callback luaentity_Punch(): C:\test\bin\..\games\twt\mods\drawers/lua/visual.lua:187: attempt to index local 'inv' (a nil val 2019-05-02 22:26:38: ERROR[Main]: ue) 2019-05-02 22:26:38: ERROR[Main]: stack traceback: 2019-05-02 22:26:38: ERROR[Main]: C:\test\bin\..\games\twt\mods\drawers/lua/visual.lua:187: in function <C:\test\bin\..\games\twt\mods\drawers/lua/visual.lua:171> 2019-05-02 22:26:38: ERROR[Main]: [C]: in function 'punch'
A players arrows using the throwing mod are able to take items from drawer without crash
The text was updated successfully, but these errors were encountered:
This is was definitely my intention with this mod - only features, no bugs.
But basically the arrow is just executing "on_punch" of the drawer visual (as the player does with a leftclick). You could add a check to the leftclick-action, so it is only executed, if the puncher is a player.
This is was definitely my intention with this mod - only features, no bugs.
But basically the arrow is just executing "on_punch" of the drawer visual (as the player does with a leftclick). You could add a check to the leftclick-action, so it is only executed, if the puncher is a player.
Not sure if feature or bug.
Became problem on my server as i have the animals_modpack npc archer gaurd and its arrows cause a crash
2019-05-02 22:26:38: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod '' in callback luaentity_Step(): Runtime error from mod '' in callback luaentity_Punch(): C:\test\bin\..\games\twt\mods\drawers/lua/visual.lua:187: attempt to index local 'inv' (a nil val 2019-05-02 22:26:38: ERROR[Main]: ue) 2019-05-02 22:26:38: ERROR[Main]: stack traceback: 2019-05-02 22:26:38: ERROR[Main]: C:\test\bin\..\games\twt\mods\drawers/lua/visual.lua:187: in function <C:\test\bin\..\games\twt\mods\drawers/lua/visual.lua:171> 2019-05-02 22:26:38: ERROR[Main]: [C]: in function 'punch'
A players arrows using the throwing mod are able to take items from drawer without crash
The text was updated successfully, but these errors were encountered: