Add BungeeCommandExecutor random changes and remove completed TODO

This commit is contained in:
Camotoy 2021-11-13 23:52:11 -05:00
parent 6b012778d8
commit 363171b80c
No known key found for this signature in database
GPG key ID: 7EEFB66FE798081F
2 changed files with 0 additions and 6 deletions

View file

@ -35,20 +35,16 @@ import org.geysermc.connector.command.GeyserCommand;
import org.geysermc.connector.network.session.GeyserSession;
import org.geysermc.connector.utils.LanguageUtils;
import javax.annotation.Nullable;
import java.util.Arrays;
import java.util.Collections;
public class GeyserBungeeCommandExecutor extends Command implements TabExecutor {
private final CommandExecutor commandExecutor;
private final GeyserConnector connector;
public GeyserBungeeCommandExecutor(GeyserConnector connector) {
super("geyser");
this.commandExecutor = new CommandExecutor(connector);
this.connector = connector;
}
@Override

View file

@ -82,8 +82,6 @@ public class JavaLevelChunkWithLightTranslator extends PacketTranslator<Clientbo
ChunkUtils.updateChunkPosition(session, session.getPlayerEntity().getPosition().toInt());
}
//todo session.getChunkCache().addToCache(packet.getColumn());
// Ensure that, if the player is using lower world heights, the position is not offset
int yOffset = session.getChunkCache().getChunkMinY();