mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-23 08:31:26 +01:00
actually remove the code this time
This commit is contained in:
parent
b086dc82ca
commit
fce63a91d5
@ -43,27 +43,4 @@ public class FakePlayerConnection extends PlayerConnection {
|
||||
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) {}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user