fix 1.10.2 crashing on server startup
@@ -53,7 +53,6 @@ public class PacketUpdateLogger implements IMessage{
@Override
@SideOnly(Side.CLIENT)
public IMessage onMessage(PacketUpdateLogger packet, MessageContext context) {
- Minecraft.getMinecraft().addScheduledTask(() -> {
BlockPos pos = BlockUtils.toPos(packet.x, packet.y, packet.z);
int i = packet.i;
String username = packet.username;
@@ -63,8 +62,6 @@ public class PacketUpdateLogger implements IMessage{
if(te != null)
te.players[i] = username;
- });
-
return null;
}
}
