GeyserMC / Floodgate

Hybrid mode plugin to allow for connections from Geyser to join online mode servers.
https://geysermc.org
MIT License
560 stars 170 forks source link

Errors on player join (Folia 1.20.2) #470

Open roggy666 opened 8 months ago

roggy666 commented 8 months ago

IMG_20231129_114643 [10:49:39] [Region Scheduler Thread #2/INFO]: [floodgate] Floodgate player logged in as Vano5769 joined (UUID: 00000000-0000-0000-0009-01f697e3bc4b) [10:49:39] [Netty Epoll Server IO #1/WARN]: [ProtocolLib] Failed to process inbound packet event: PacketEvent[player=CraftPlayer{name=Vano5769}, packet=PacketContainer[type=null[class=ServerboundClientInformationPacket, id=0], structureModifier=StructureModifier[fieldType=class java.lang.Object, data=[com.comphenix.protocol.reflect.accessors.DefaultFieldAccessor@371c0c13]]]] java.lang.NullPointerException: null at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:903) ~[guava-32.1.2-jre.jar:?] at com.google.common.cache.LocalCache.put(LocalCache.java:4242) ~[guava-32.1.2-jre.jar:?] at com.comphenix.protocol.concurrency.ConcurrentPlayerMap.cachePlayerKey(ConcurrentPlayerMap.java:195) ~[ProtocolLib.jar:?] at com.comphenix.protocol.concurrency.ConcurrentPlayerMap.putIfAbsent(ConcurrentPlayerMap.java:206) ~[ProtocolLib.jar:?] at com.comphenix.protocol.concurrency.ConcurrentPlayerMap.putIfAbsent(ConcurrentPlayerMap.java:27) ~[ProtocolLib.jar:?] at com.comphenix.protocol.async.PlayerSendingHandler.getSendingQueue(PlayerSendingHandler.java:148) ~[ProtocolLib.jar:?] at com.comphenix.protocol.async.PlayerSendingHandler.getSendingQueue(PlayerSendingHandler.java:131)

roggy666 commented 8 months ago

(This problem is only when a bedrock player connects, the lib protocol gets null from the floodgate as I understand it

Tim203 commented 5 months ago

Do you have an issue link somewhere (e.g. from ProtocolLib)?