mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-07 17:08:30 +01:00
actually remove the code this time
This commit is contained in:
parent
b086dc82ca
commit
fce63a91d5
@ -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) {}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user