Made laser gun dump energy cache when laser gun is not held by player

This commit is contained in:
Robert S 2014-05-08 08:52:19 -04:00
parent 2300100bbd
commit 8f9ff1154e

View file

@ -76,6 +76,10 @@ public class ItemMiningLaser extends ItemEnergyTool
{
this.miningMap.remove(player);
}
if (this.energyUsedMap.containsKey(player))
{
this.energyUsedMap.remove(player);
}
}
}
}