AbsolemJackdaw / AppleCrates

sell your items out of crates
MIT License
2 stars 8 forks source link

Illegal Access Error? #15

Closed MoonWillow333 closed 4 months ago

MoonWillow333 commented 1 year ago

So every time I try to place a crate, it gives me this error:

The game crashed whilst exception ticking world Error: java.lang.IllegalAccessError: class jackdaw.applecrates.container.SimpleContainerNBT tried to access private field net.minecraft.class_1277.field_5828 (jackdaw.applecrates.container.SimpleContainerNBT and net.minecraft.class_1277 are in unnamed module of loader net.fabricmc.loader.impl.launch.knot.KnotClassLoader @21a947fe)

I'm not too sure how to go about fixing it, if needed I can provide the full crash report. I looked around and couldn't find a real way to fix it.

AbsolemJackdaw commented 1 year ago

Are you using quilt ?

MoonWillow333 commented 1 year ago

Are you using quilt ?

Oh shoot I forgot to mention I'm using Fabric, 1.19.

AbsolemJackdaw commented 1 year ago

Weird. Probably a version difference issue

MoonWillow333 commented 1 year ago

Aaah shoot, so in other words should I update to 1.19.2?

AbsolemJackdaw commented 1 year ago

The mod has been coded under 14.9, 0.60.0 for 1.19.2 What loader are you using ?

MoonWillow333 commented 1 year ago

Fabric loader 0.14.8. That's probably why then. Thank you so much for the help, I couldn't find a clear answer anywhere for fabric but this helped a lot. :)