Clean up a bit

This commit is contained in:
s809
2024-07-11 22:08:21 +05:00
parent 014310631e
commit 43fee18ae4
@@ -29,12 +29,12 @@ public class ServerPlayerWrapper implements IServerPlayerWrapper
public static ServerPlayerWrapper getWrapper(ServerPlayer serverPlayer)
{
return serverPlayerWrapperMap.computeIfAbsent(serverPlayer.connection, ignored -> new ServerPlayerWrapper(serverPlayer));
return serverPlayerWrapperMap.computeIfAbsent(serverPlayer.connection, ignored -> new ServerPlayerWrapper(serverPlayer.connection));
}
private ServerPlayerWrapper(ServerPlayer serverPlayer)
private ServerPlayerWrapper(ServerPlayerConnection connection)
{
this.connection = serverPlayer.connection;
this.connection = connection;
}