actually remove the code this time

This commit is contained in:
thiccaxe 2021-04-08 18:21:00 -07:00
parent b086dc82ca
commit fce63a91d5

View File

@ -42,28 +42,5 @@ public class FakePlayerConnection extends PlayerConnection {
Check.argCondition(!(player instanceof FakePlayer), "FakePlayerController needs a FakePlayer object");
super.setPlayer(player);
}
@Override
public void setProtocolVersion(int protocolVersion) {}
@Override
public int getProtocolVersion() {
return MinecraftServer.PROTOCOL_VERSION;
}
@Override
public @Nullable String getServerAddress() {
return MinecraftServer.getNettyServer().getAddress();
}
@Override
public void setServerAddress(@Nullable String serverAddress) {}
@Override
public int getServerPort() {
return MinecraftServer.getNettyServer().getPort();
}
@Override
public void setServerPort(int serverPort) {}
}