All the Mods 9 - ATM9

All the Mods 9 - ATM9

9M Downloads

[Quests issues]: ISNS - "The Last Class..." missing proper reward

ShinryuAspect opened this issue ยท 0 comments

commented

Modpack Version

0.3.2

Describe the issue

Iron's Spells N' Spellbooks' - "The Last Class..." quest (the one you get once you get into the Deep Dark biome) it's missing a proper reward. From what I've seen inside the quests' files, it should be awarding you an Ecnahnted Book with Swift Sneak 3, but, eight now, it's just giving you an Enchanted Book with no enchantment.
Luckily, the fix is farily simple and I managed to do if by myself, the syntax for the reward was wrong (I just copied the one from another reward and edited it to give Swift Sneak 3).

Current syntax (iron_spells_and_spellbooks.snbt - ln 2199):

rewards: [{
	id: "7168285F8D52B227"
	item: {
		Count: 1
		id: "minecraft:enchanted_book"
		tag: {
			Enchantments: {
				id: "minecraft:swift_sneak"
				lvl: "3"
			}
		}
	}
	type: "item"
}]

Fixed syntax:

rewards: [{
	id: "7168285F8D52B227"
	item: {
		Count: 1
		id: "minecraft:enchanted_book"
		tag: {
			StoredEnchantments: {
				id: "minecraft:swift_sneak"
				lvl: 3s
			}
		}
	}
	type: "item"
}]

Aparently, the "tag" was wrong and so was the "lvl" property.