mirror of
https://github.com/GTNewHorizons/MagicBees.git
synced 2026-11-25 14:34:44 +00:00
Update TileEntityApimancersDrainerCommon.java
This commit is contained in:
1 parent
2e7e1a3efc
commit
5c0169b7ea
1 file changed
+2
-2
@@ -159,7 +159,7 @@ public class TileEntityApimancersDrainerCommon extends TileEntity
|
||||
this.worldObj.markBlockForUpdate(this.xCoord, this.yCoord, this.zCoord);
|
||||
}
|
||||
if (this.essentia.getAmount(tag) >= amount) {
|
||||
this.essentia.reduce(tag, amount);
|
||||
this.essentia.remove(tag, amount);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
@@ -177,7 +177,7 @@ public class TileEntityApimancersDrainerCommon extends TileEntity
|
||||
}
|
||||
if (hasIt) {
|
||||
for (Aspect next : ot.aspects.keySet()) {
|
||||
essentia.reduce(next, ot.getAmount(next));
|
||||
essentia.remove(next, ot.getAmount(next));
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user