Armor Spill Prevention


Prevents you from removing your armor if it would cause a spill. Integrated into vanilla 2.0!

Tweaks
10 months ago
1.1
2.83K
Armor

b ✅ Non-recoverable Error

1 year, 2 months ago

I received this error when clicking on a small power pole.

The mod Armor Spill Prevention (0.0.3) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event armor-spill-prevention::asp-pick-item (ID 290)
armor-spill-prevention/control.lua:44: attempt to concatenate local 'message' (a boolean value)
stack traceback:
armor-spill-prevention/control.lua:44: in function 'debug_print'
armor-spill-prevention/control.lua:124: in function 'hovering'
armor-spill-prevention/control.lua:143: in function <armor-spill-prevention/control.lua:139>

1 year, 2 months ago

I'm not even sure how that's possible, the debug_print function doesn't even have anything when my personal unreleased debug mod isn't active.

1 year, 2 months ago

Ahh I'm stupid, I accidentally configured the debug print wrong.
Fixed in 0.0.4

1 year, 2 months ago

Honest mistake. Thank you for both the quick reply and fix!

1 year, 2 months ago

Wita dziś pokazał mi się taki błąd

Modyfikacja Armor Spill Prevention (0.0.7) spowodowała niemożliwy do naprawienia błąd.
Proszę, zgłoś ten błąd autorowi tej modyfikacji.

Error while running event armor-spill-prevention::on_gui_opened (ID 88)
armor-spill-prevention/control.lua:60: attempt to index a nil value
stack traceback:
armor-spill-prevention/control.lua:60: in function 'get_armor_slot'
armor-spill-prevention/control.lua:253: in function <armor-spill-prevention/control.lua:249>

1 year, 2 months ago

Thanks for the report, Fixed in 0.0.8.
Następnym razem proszę o nową dyskusję :)

1 year, 2 months ago

OK wielkie dzięki

New response