From 4102725f46215212c2a1a2538cfe9c02f4706c39 Mon Sep 17 00:00:00 2001 From: Lizbeth Rika Date: Fri, 17 Apr 2015 10:44:34 +0100 Subject: [PATCH] Fixed the Mana Pool sending way more packets than it should because I forgot to reset the flag >_> --- .../java/vazkii/botania/common/block/tile/mana/TilePool.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/vazkii/botania/common/block/tile/mana/TilePool.java b/src/main/java/vazkii/botania/common/block/tile/mana/TilePool.java index edda1c732..91504e43b 100644 --- a/src/main/java/vazkii/botania/common/block/tile/mana/TilePool.java +++ b/src/main/java/vazkii/botania/common/block/tile/mana/TilePool.java @@ -193,8 +193,10 @@ public class TilePool extends TileMod implements IManaPool, IDyablePool, IKeyLoc Botania.proxy.wispFX(worldObj, xCoord + 0.3 + Math.random() * 0.5, yCoord + 0.6 + Math.random() * 0.25, zCoord + Math.random(), color.getRed() / 255F, color.getGreen() / 255F, color.getBlue() / 255F, (float) Math.random() / 3F, (float) -Math.random() / 25F, 2F); } - if(sendPacket && ticks % 10 == 0) + if(sendPacket && ticks % 10 == 0) { VanillaPacketDispatcher.dispatchTEToNearbyPlayers(this); + sendPacket = false; + } alchemy = worldObj.getBlock(xCoord, yCoord - 1, zCoord) == ModBlocks.alchemyCatalyst; conjuration = worldObj.getBlock(xCoord, yCoord - 1, zCoord) == ModBlocks.conjurationCatalyst;