mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-27 15:33:08 +00:00
Fixed Mana Spreaders freezing your game >_>
This commit is contained in:
1 parent
349ec634c6
commit
9ed77a1df1
1 file changed
+1
-1
@@ -358,7 +358,7 @@ public class EntityManaBurst extends EntityThrowable implements IManaBurst {
|
||||
lens.updateBurst(this, getSourceLens());
|
||||
|
||||
int mana = getMana();
|
||||
if(ticksExisted >= getMinManaLoss()) {
|
||||
if(getTicksExisted() >= getMinManaLoss()) {
|
||||
accumulatedManaLoss += getManaLossPerTick();
|
||||
int loss = (int) accumulatedManaLoss;
|
||||
setMana(mana - loss);
|
||||
|
||||
Reference in new issue
Block a user