TownyAdvanced / TownyProvinces

An add-on plugin for Towny, which makes claiming more organized, reducing staff workload and server toxicity.
20 stars 10 forks source link

Fixes issue loading not-present Mapper plugins on Spigot-using server. #99

Closed lexiccn closed 1 year ago

lexiccn commented 1 year ago

These were not issues in Paper with Modern Plugin Loading Strategy, but they were issues in Spigot and Paper with Legacy Plugin Loading Strategy

Essentially it seems Modern loading does not verify interfaces exist if the class is not instantiated, but Legacy loading does. I don't have an explanation for this but it is resolved in this PR

Tested on Spigot, Paper w/ Legacy and Paper w/ Modern

Additionally I noticed BlueMap support did not load on Spigot as it appears to be case-sensitive there; this may be a local issue but this is resolved here with no adverse effects to the people it did work for.