Fabric Shield Lib

Fabric Shield Lib

3M Downloads

Tag Issue - 1.7 - Fabric 1.19.2

xR4YM0ND opened this issue · 12 comments

commented

[Worker-Main-3/ERROR]: Couldn't load tag c:shields as it is missing following references: fabricshieldlib:fabric_shield (from Fabric Shield Lib), fabricshieldlib:fabric_banner_shield (from Fabric Shield Lib) [Worker-Main-3/ERROR]: Couldn't load tag c:tools as it is missing following references: #c:shields (from Porting Lib Tags) [Worker-Main-3/ERROR]: Couldn't load tag bookshelf:shields as it is missing following references: #c:shields (from Bookshelf)

latest.log

commented

I also have this error

commented

Looking at the log, it seems this error is happening with many other tags. Does this occur when the mod is loaded by itself?

commented

Only happens with new version

The other tags in this log is a fabric seasons / chipped problem

I will try this standalone

commented

Never mind ... it happens even with Shield Lib & Fabric API
I forgot to load in a world ^^

latest.log

commented

Its not happening when standalone (Shield lib + Fabric API)
only happens with some of the mods in our pack ... but idk which

commented

This is a simple issue with https://github.com/StellarWind22/Fabric-Shield-Lib/blob/1.19.2/src/main/java/com/github/crimsondawn45/fabricshieldlib/initializers/FabricShieldLib.java#L86.
These two default items which fabric shield lib initializes only in development environment are in the c:shields tag.
Since they exist only in dev env, in prod env the tag will cry for having non existing items in it.

commented

This is a simple issue with https://github.com/StellarWind22/Fabric-Shield-Lib/blob/1.19.2/src/main/java/com/github/crimsondawn45/fabricshieldlib/initializers/FabricShieldLib.java#L86. These two default items which fabric shield lib initializes only in development environment are in the c:shields tag. Since they exist only in dev env, in prod env the tag will cry for having non existing items in it.

Yeah, that's what I initially suspected. The test items are in the tag for testing purposes, but I guess we could remove them to fix this.

commented

Will this get fixed in the next update?

commented

Yes, this should be fixed in the next version.

commented

I've wanted to push out a fix for this with the next update, but I want to resolve #142 along sith this, but there's a bit of a hold on that issue.

commented

any updates on this?

commented

Fixed in 1.7.1, releasing tomorrow