Use Geyser variable

This commit is contained in:
RaphiMC 2024-06-10 00:43:57 +02:00
parent b8ca24a81c
commit 807edb39bf
No known key found for this signature in database
GPG key ID: 0F6BB0657A03AC94

View file

@ -122,7 +122,7 @@ public class GeyserViaProxyPlugin extends ViaProxyPlugin implements GeyserBootst
} }
this.geyser = GeyserImpl.load(PlatformType.VIAPROXY, this); this.geyser = GeyserImpl.load(PlatformType.VIAPROXY, this);
GeyserImpl.getInstance().eventBus().register(this, new GeyserServerTransferListener()); this.geyser.eventBus().register(this, new GeyserServerTransferListener());
LoopbackUtil.checkAndApplyLoopback(this.logger); LoopbackUtil.checkAndApplyLoopback(this.logger);
} }