The Vanilla Experience (Mod) (Forge)

The Vanilla Experience (Mod) (Forge)

118k Downloads

Daily Quests seems to be crashing when trying to generate a task related to a mod's entity

vico93 opened this issue ยท 3 comments

commented

Information

Minecraft version: 1.21.1
Modloader: Fabric
Fabric loader version: 0.16.10
Environment: Singleplayer

Mod name: Daily Quests
Mod version: 2.2

Description

Got the crash linked below when i tried to sleep on the end of first day on a village's bed. Chatting with the guys on Fabric's Discord and feeding the crash report to ChatGPT (sorry) they pointed me that Daily Quests crashed trying to generate a tame quest for an entity called Brungle (i think) of the mod The Bygone by @jamieohdev (version 1.2.1).

Crash report

Here!

commented

Thanks, already downloaded the new version of Bygone, but since the DQ-side as mentioned by @Franco227 still have the potential to crash with other mods that add such kind of entities, i will leave that open for @ricksouth evaluate.

commented

This happens in the TameAnimal quest type if the selected entity can't be created.

@Override
public boolean isAllowedIdentifier(Level level, ResourceLocation identifier) {
	EntityType<?> entityType = this.getRegistry(level).get(identifier);
	return entityType.create(level) instanceof TamableAnimal;
}
commented

Hello! This will be fixed in the next version of the Bygone (1.2.2)