terrarium-earth / Cadmus

A land claiming mod that allows users to claim land to protect your home from thieves, bandits and monsters, and admins to claim land with region flags and advanced protection!
MIT License
21 stars 8 forks source link

[Bug]: API not usable with Yarn mappings #43

Closed Emafire003 closed 4 months ago

Emafire003 commented 5 months ago

Bug Description

The java API for this mod is made with Mojmap mappings, but generally fabric utilises Yarn mappings. So the API, at least for fabric should support either something neutral, or yarn mappings. In particular, I can't use any of the methods from ClaimAPI or AdminClaimManager beacuse I would need to use ServerLevel, which in yarn is called ServerWorld.

How to Reproduce?

No response

Expected Behavior

No response

Version

1.0.7

Mod Loader Version

1.20.1 - 0.15.3

Mod Loader

Fabric

Logs or additional context

No response

Code of Conduct

CodexAdrian commented 4 months ago

We cannot support different mappings on different platforms. We recommend switching to Official mappings or using a tiny remapper to remap the method that is failing in your development environment