forked from GeyserMC/Geyser
Remove unused imports
This commit is contained in:
parent
d08c13a7e3
commit
1714445df9
1 changed files with 1 additions and 3 deletions
|
@ -27,8 +27,6 @@ package org.geysermc.connector.network.translators.java.world;
|
||||||
|
|
||||||
import com.nukkitx.protocol.bedrock.data.GameRuleData;
|
import com.nukkitx.protocol.bedrock.data.GameRuleData;
|
||||||
import com.nukkitx.protocol.bedrock.packet.GameRulesChangedPacket;
|
import com.nukkitx.protocol.bedrock.packet.GameRulesChangedPacket;
|
||||||
import it.unimi.dsi.fastutil.longs.Long2BooleanMap;
|
|
||||||
import it.unimi.dsi.fastutil.longs.Long2BooleanOpenHashMap;
|
|
||||||
import it.unimi.dsi.fastutil.longs.Long2LongMap;
|
import it.unimi.dsi.fastutil.longs.Long2LongMap;
|
||||||
import it.unimi.dsi.fastutil.longs.Long2LongOpenHashMap;
|
import it.unimi.dsi.fastutil.longs.Long2LongOpenHashMap;
|
||||||
import org.geysermc.connector.network.session.GeyserSession;
|
import org.geysermc.connector.network.session.GeyserSession;
|
||||||
|
@ -40,7 +38,7 @@ import com.nukkitx.protocol.bedrock.packet.SetTimePacket;
|
||||||
|
|
||||||
@Translator(packet = ServerUpdateTimePacket.class)
|
@Translator(packet = ServerUpdateTimePacket.class)
|
||||||
public class JavaUpdateTimeTranslator extends PacketTranslator<ServerUpdateTimePacket> {
|
public class JavaUpdateTimeTranslator extends PacketTranslator<ServerUpdateTimePacket> {
|
||||||
|
|
||||||
// If negative, the last time is stored so we know it's not some plugin behavior doing weird things.
|
// If negative, the last time is stored so we know it's not some plugin behavior doing weird things.
|
||||||
// Per-player for multi-world support
|
// Per-player for multi-world support
|
||||||
static Long2LongMap lastRecordedTimes = new Long2LongOpenHashMap();
|
static Long2LongMap lastRecordedTimes = new Long2LongOpenHashMap();
|
||||||
|
|
Loading…
Reference in a new issue