From aad45369904204dd382c94acf370204223409171 Mon Sep 17 00:00:00 2001 From: Camotoy <20743703+DoctorMacc@users.noreply.github.com> Date: Tue, 21 Apr 2020 15:36:13 -0400 Subject: [PATCH] Fix /fly command (#396) * Fix /fly * Add comment --- .../java/entity/player/JavaPlayerAbilitiesTranslator.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/connector/src/main/java/org/geysermc/connector/network/translators/java/entity/player/JavaPlayerAbilitiesTranslator.java b/connector/src/main/java/org/geysermc/connector/network/translators/java/entity/player/JavaPlayerAbilitiesTranslator.java index dcf6371de..3029f38e4 100644 --- a/connector/src/main/java/org/geysermc/connector/network/translators/java/entity/player/JavaPlayerAbilitiesTranslator.java +++ b/connector/src/main/java/org/geysermc/connector/network/translators/java/entity/player/JavaPlayerAbilitiesTranslator.java @@ -27,6 +27,7 @@ package org.geysermc.connector.network.translators.java.entity.player; import java.util.Set; +import com.nukkitx.protocol.bedrock.data.CommandPermission; import org.geysermc.connector.entity.Entity; import org.geysermc.connector.network.session.GeyserSession; import org.geysermc.connector.network.translators.PacketTranslator; @@ -68,6 +69,8 @@ public class JavaPlayerAbilitiesTranslator extends PacketTranslator