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
The first player to immediately join a new game (first time only, singleplayer or hosted), the armor tab in the inventory says "Armor not initialized!" Quitting and joining again fixes it, but it's still annoying.
This it not specific to WhyNot. I was able to reproduce it by copying 3d_armor into minetest_game/mods, as well as simply enabling 3d_armor on a new MTG world before joining.
I've tracked it down to the init_player_armor function at
i tried to clean up that mess a bit in #115 let me know if that works for you
BuckarooBanzay
changed the title
"Armor not uninitialized!" when 3d_armor is part of a game
"Armor not initialized!" when 3d_armor is part of a game
Oct 21, 2023
Hi. I'm one of the WhyNot? game maintainers and we've noticed a problem with 3d_armor recently (minetest-whynot/whynot-game#169)
The first player to immediately join a new game (first time only, singleplayer or hosted), the armor tab in the inventory says "Armor not initialized!" Quitting and joining again fixes it, but it's still annoying.
This it not specific to WhyNot. I was able to reproduce it by copying 3d_armor into minetest_game/mods, as well as simply enabling 3d_armor on a new MTG world before joining.
I've tracked it down to the
init_player_armor
function atWhere
minetest.get_gametime()
is probably 0 when you first join a new world.I found a quick workaround by using
minetest.after(1
in init.lua:but given the TODO comment, I thought maybe this needs some deeper investigation.
The text was updated successfully, but these errors were encountered: