ProxioDev / ValioBungee

Synchronize players data between BungeeCord / Velocity proxies
Eclipse Public License 1.0
202 stars 52 forks source link

RedisBungeeAPI getServerToPlayers() method shadow relocate problem #112

Open Ayouuuu opened 1 month ago

Ayouuuu commented 1 month ago

intended behavior

getServerToPlayers()

what the behavior you actually saw

java.lang.NoSuchMethodError: 'com.google.common.collect.Multimap com.imaginarycode.minecraft.redisbungee.AbstractRedisBungeeAPI.getServerToPlayers()'

Steps to reproduce

java.lang.NoSuchMethodError: 'com.google.common.collect.Multimap com.imaginarycode.minecraft.redisbungee.AbstractRedisBungeeAPI.getServerToPlayers()'

Velocity or Bungeecord Versions

https://api.papermc.io/v2/projects/waterfall/versions/1.21/builds/579/downloads/waterfall-1.21-579.jar

RedisBungee Version & Redis Version

RedisVersion: 7.2 RedisBungee Version: 0.12.4

Other

<dependency>
    <groupId>com.github.ProxioDev.ValioBungee</groupId>
    <artifactId>RedisBungee-API</artifactId>
    <version>0.12.4</version>
</dependency>

MultiMap and ImmutableSet relocate

ham1255 commented 1 month ago

oops this documentation issue

https://github.com/ProxioDev/ValioBungee/wiki/API#relocation--access-built-in-unifiedjedis

read how to add relocations then add relocations of the lib you want to use