Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-19 22:40:18 +01:00
inline event creation & firing
Dieser Commit ist enthalten in:
Ursprung
987c440fae
Commit
1e18d51d18
@ -141,9 +141,7 @@ public class JavaCustomPayloadTranslator extends PacketTranslator<ClientboundCus
|
||||
});
|
||||
} else {
|
||||
var eventBus = session.getGeyser().eventBus();
|
||||
|
||||
var event = new ServerCustomPayloadEvent(session, channel, packet.getData());
|
||||
eventBus.fire(event);
|
||||
eventBus.fire(new ServerCustomPayloadEvent(session, channel, packet.getData()));
|
||||
}
|
||||
}
|
||||
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren