Giant annoying message to see where this happens

This commit is contained in:
Vincent Lee committed 2016-01-23 22:41:20 -06:00
1 parent ac72a5a660
commit 08fa70e25c
1 file changed
+5
@@ -35,6 +35,7 @@ import net.minecraft.util.EnumFacing;
import net.minecraft.util.StatCollector;
import net.minecraft.world.World;
import net.minecraftforge.fml.common.FMLLog;
import net.minecraftforge.fml.common.ObfuscationReflectionHelper;
import org.lwjgl.opengl.GL11;
@@ -120,6 +121,10 @@ public class TilePool extends TileMod implements IManaPool, IDyablePool, IKeyLoc
@Override
public void recieveMana(int mana) {
this.mana = Math.max(0, Math.min(getCurrentMana() + mana, manaCap));
if (worldObj.isRemote) {
FMLLog.severe("[Botania]: CLIENT POOL RECEIVE MANA");
FMLLog.severe("[Botania]: WORLD: %s, POS: %s", worldObj, pos);
}
worldObj.updateComparatorOutputLevel(pos, worldObj.getBlockState(pos).getBlock());
markDispatchable();
}