You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if(!(this.getServer() instanceofProxyDedicatedServerserver)) thrownewRuntimeException("ProxyServerConnectionListener not called from a ProxyDedicatedServer");
32
+
if(!(this.getServer() instanceofCustomDedicatedServerserver)) thrownewRuntimeException("CustomServerConnectionListener not called from a CustomDedicatedServer");
32
33
33
34
if (pAddress == null) pAddress = newjava.net.InetSocketAddress(pPort).getAddress();
if(!(((PlayerListAccessor) this).getServer() instanceofProxyDedicatedServerproxyDedicatedServer)) thrownewRuntimeException("placeNewPlayer from RemotePlayerList was not called in a ProxyDedicatedServer");
43
+
if(!(((PlayerListAccessor) this).getServer() instanceofCustomDedicatedServercustomDedicatedServer)) thrownewRuntimeException("placeNewPlayer from RemotePlayerList was not called in a CustomDedicatedServer");
if(!(((PlayerListAccessor) this).getServer() instanceofProxyDedicatedServerproxyDedicatedServer)) thrownewRuntimeException("placeNewPlayer from RemotePlayerList was not called in a ProxyDedicatedServer");
52
-
if(!proxyDedicatedServer.isProxy()) thrownewRuntimeException("Worker cannot have a remotePlayerList");
50
+
if(!(((PlayerListAccessor) this).getServer() instanceofCustomDedicatedServercustomDedicatedServer)) thrownewRuntimeException("placeNewPlayer from RemotePlayerList was not called in a CustomDedicatedServer");
51
+
if(!customDedicatedServer.isProxy()) thrownewRuntimeException("Worker cannot have a remotePlayerList");
0 commit comments