getNetworkManager()
If packet event is fired by InstantMessage other event receivers will not have a ready NetworkManager at that stage. So `FMLClientHandler.instance().getClientToServerNetworkManager()` might return null
@@ -77,6 +77,7 @@ public class Helper implements Globals {
return tileEntity.getWorld();
}
+ @Nullable
public static NetworkManager getNetworkManager() {
return FMLClientHandler.instance().getClientToServerNetworkManager();
}
