mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 11:49:37 +00:00
Cleanup.
This commit is contained in:
1 parent
0fcb96c50d
commit
9508b8889b
174 files changed
+808
-972
No files matched your search
@@ -186,7 +186,7 @@ public class EntitySpark extends Entity implements ISparkEntity {
|
||||
int manaTotal = Math.min(TRANSFER_RATE * transfers.size(), tile.getCurrentMana());
|
||||
int manaForEach = manaTotal / transfers.size();
|
||||
int manaSpent = 0;
|
||||
|
||||
|
||||
if(manaForEach > transfers.size()) {
|
||||
for(ISparkEntity spark : transfers) {
|
||||
if(spark.getAttachedTile() == null || spark.getAttachedTile().isFull() || spark.areIncomingTransfersDone()) {
|
||||
|
||||
Reference in new issue
Block a user