use of org.dragonet.protocol.packets.SetTimePacket in project DragonProxy by DragonetMC.
the class PCUpdateTimePacketTranslator method translate.
public PEPacket[] translate(UpstreamSession session, ServerUpdateTimePacket packet) {
SetTimePacket pk = new SetTimePacket();
pk.time = (int) Math.abs(packet.getTime());
return new PEPacket[] { pk };
}
Aggregations