mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Remove debug code
This commit is contained in:
parent
b89cc1aef0
commit
7fe7dc1d70
1 changed files with 0 additions and 4 deletions
|
@ -41,13 +41,11 @@ public class BedrockPositionTrackingDBClientRequestTranslator extends PacketTran
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void translate(GeyserSession session, PositionTrackingDBClientRequestPacket packet) {
|
public void translate(GeyserSession session, PositionTrackingDBClientRequestPacket packet) {
|
||||||
System.out.println(packet.toString());
|
|
||||||
PositionTrackingDBServerBroadcastPacket broadcastPacket = new PositionTrackingDBServerBroadcastPacket();
|
PositionTrackingDBServerBroadcastPacket broadcastPacket = new PositionTrackingDBServerBroadcastPacket();
|
||||||
broadcastPacket.setTrackingId(packet.getTrackingId());
|
broadcastPacket.setTrackingId(packet.getTrackingId());
|
||||||
|
|
||||||
// Fetch the stored lodestone
|
// Fetch the stored lodestone
|
||||||
LodestoneCache.LodestonePos pos = session.getLodestoneCache().getPos(packet.getTrackingId());
|
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 we don't have data for that ID tell the client its not found
|
||||||
if (pos == null) {
|
if (pos == null) {
|
||||||
|
@ -70,8 +68,6 @@ public class BedrockPositionTrackingDBClientRequestTranslator extends PacketTran
|
||||||
builder.putList("pos", NbtType.INT, pos.getX(), pos.getY(), pos.getZ());
|
builder.putList("pos", NbtType.INT, pos.getX(), pos.getY(), pos.getZ());
|
||||||
broadcastPacket.setTag(builder.build());
|
broadcastPacket.setTag(builder.build());
|
||||||
|
|
||||||
System.out.println(broadcastPacket);
|
|
||||||
|
|
||||||
session.sendUpstreamPacket(broadcastPacket);
|
session.sendUpstreamPacket(broadcastPacket);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue