Correct vessels dependency, error for < 5.0.0-dev

This commit is contained in:
SmallJoker 2018-07-14 10:47:27 +02:00
parent 8905e7a599
commit f957841e0a
3 changed files with 10 additions and 2 deletions

@ -8,5 +8,9 @@ This server mod provides upgradeable packs in form of items to players which giv
License: MIT
Dependencies: default, vessels
Optional dependencies: unified_inventory, sfinv
## Craft recipes
1. Download and install a craft guide

@ -1,3 +1,7 @@
if not minetest.register_allow_player_inventory_action then
error("[upgrade_packs] This mod requires at least Minetest 5.0.0-dev")
end
upgrade_packs = {}
upgrade_packs.health_items = {}
upgrade_packs.breath_items = {}

@ -1,4 +1,4 @@
name = upgrade_packs
description = Provides craftable packs to players to increase their health and breath
depends = default
optional_depends = unified_inventory, sfinv, vessels
depends = default, vessels
optional_depends = unified_inventory, sfinv