diff --git a/src/main/java/dan200/computercraft/shared/computer/core/ServerComputer.java b/src/main/java/dan200/computercraft/shared/computer/core/ServerComputer.java index 49060ef92..f5799af28 100644 --- a/src/main/java/dan200/computercraft/shared/computer/core/ServerComputer.java +++ b/src/main/java/dan200/computercraft/shared/computer/core/ServerComputer.java @@ -175,12 +175,13 @@ public class ServerComputer extends ServerTerminal implements IComputer, IComput FMLCommonHandler handler = FMLCommonHandler.instance(); if( handler != null ) { - IMessage packet = createTerminalPacket(); + IMessage packet = null; MinecraftServer server = handler.getMinecraftServerInstance(); for( EntityPlayerMP player : server.getPlayerList().getPlayers() ) { if( isInteracting( player ) ) { + if( packet == null ) packet = createTerminalPacket(); NetworkHandler.sendToPlayer( player, packet ); } }