Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-04 23:30:17 +01:00
oops
Dieser Commit ist enthalten in:
Ursprung
f849a5b9f9
Commit
e2df486eac
@ -47,7 +47,6 @@ public class UpstreamPacketHandler extends LoggingPacketHandler {
|
||||
}
|
||||
|
||||
private boolean translateAndDefault(BedrockPacket packet) {
|
||||
System.out.println(packet.toString());
|
||||
return PacketTranslatorRegistry.BEDROCK_TRANSLATOR.translate(packet.getClass(), packet, session);
|
||||
}
|
||||
|
||||
|
@ -36,9 +36,6 @@ public class JavaCloseWindowTranslator extends PacketTranslator<ServerCloseWindo
|
||||
|
||||
@Override
|
||||
public void translate(ServerCloseWindowPacket packet, GeyserSession session) {
|
||||
session.addInventoryTask(() -> {
|
||||
session.getConnector().getLogger().info("Closing window ID " + packet.getWindowId());
|
||||
InventoryUtils.closeInventory(session, packet.getWindowId());
|
||||
});
|
||||
session.addInventoryTask(() -> InventoryUtils.closeInventory(session, packet.getWindowId()));
|
||||
}
|
||||
}
|
||||
|
@ -45,7 +45,6 @@ public class JavaOpenWindowTranslator extends PacketTranslator<ServerOpenWindowP
|
||||
if (packet.getWindowId() == 0) {
|
||||
return;
|
||||
}
|
||||
session.getConnector().getLogger().info("Opening window ID " + packet.getWindowId());
|
||||
|
||||
InventoryTranslator newTranslator = InventoryTranslator.INVENTORY_TRANSLATORS.get(packet.getType());
|
||||
Inventory openInventory = session.getOpenInventory();
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren