3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-12-24 15:20:25 +01:00

Remove debug code

Dieser Commit ist enthalten in:
Camotoy 2021-08-31 19:52:10 -04:00
Ursprung b89cc1aef0
Commit 7fe7dc1d70
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 7EEFB66FE798081F

Datei anzeigen

@ -41,13 +41,11 @@ public class BedrockPositionTrackingDBClientRequestTranslator extends PacketTran
@Override
public void translate(GeyserSession session, PositionTrackingDBClientRequestPacket packet) {
System.out.println(packet.toString());
PositionTrackingDBServerBroadcastPacket broadcastPacket = new PositionTrackingDBServerBroadcastPacket();
broadcastPacket.setTrackingId(packet.getTrackingId());
// Fetch the stored lodestone
LodestoneCache.LodestonePos pos = session.getLodestoneCache().getPos(packet.getTrackingId());
System.out.println(pos);
// If we don't have data for that ID tell the client its not found
if (pos == null) {
@ -70,8 +68,6 @@ public class BedrockPositionTrackingDBClientRequestTranslator extends PacketTran
builder.putList("pos", NbtType.INT, pos.getX(), pos.getY(), pos.getZ());
broadcastPacket.setTag(builder.build());
System.out.println(broadcastPacket);
session.sendUpstreamPacket(broadcastPacket);
}
}