BG-Software-LLC / WildTools

Trench Pickaxes, Tray Pickaxes, Sell Wands, Harvester Hoes, Cannon Wands and more in one plugin!
https://bg-software.com/wildtools/
GNU General Public License v3.0
25 stars 22 forks source link

Compatibility issue with factions uuid #179

Closed PingSpoof closed 9 months ago

PingSpoof commented 12 months ago

Minecraft's Version

1.20.2 paper

Plugin's Version

Last 2023.3 b24

Describe the bug

If you use the tools on your factions claim with the last version of fac uuid, it will spam error in console and don't work in game.

[20:20:37 ERROR]: Could not pass event PlayerInteractEvent to WildTools v2023.3-b24 java.lang.NoSuchMethodError: 'boolean com.massivecraft.factions.listeners.FactionsBlockListener.playerCanBuildDestroyBlock(org.bukkit.entity.Player, org.bukkit.Location, java.lang.String, boolean)' at com.bgsoftware.wildtools.hooks.ClaimsProvider_FactionsUUID02.isPlayerClaim(ClaimsProvider_FactionsUUID02.java:17) ~[WildTools-2023.3-b24.jar:?] at com.bgsoftware.wildtools.handlers.ProvidersHandler.lambda$isInsideClaim$0(ProvidersHandler.java:180) ~[WildTools-2023.3-b24.jar:?]

To Reproduce

Just use the last dev build with factions uuid and then use the tray pickaxe or an another tool inside your claim and the plugin will spam an error in console every time you break a block.

Additional Information

No response

OmerBenGera commented 11 months ago

I am using latest version of WildTools (b24) and FactionsUUID (b329) and it works just fine. Please send me a link to the FactionsUUID you use and the exact version you use.

PingSpoof commented 11 months ago

FactionsUUID b333

OmerBenGera commented 10 months ago

Fixed in latest dev build Let me know if it works

OmerBenGera commented 9 months ago

Closing this as it seems to be fixed If the issue continues let me know