mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-13 00:37:57 +00:00
Fixed Sparks never outputting their mana into non-pool blocks.
This commit is contained in:
1 parent
2050ae2f27
commit
fc0096e5ed
2 files changed
+1
-2
No files matched your search
@@ -33,7 +33,6 @@ public final class BotaniaCreativeTab extends CreativeTabs {
|
||||
super(LibMisc.MOD_ID);
|
||||
setNoTitle();
|
||||
setBackgroundImageName(LibResources.GUI_CREATIVE);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -273,7 +273,7 @@ public class EntitySpark extends Entity implements ISparkEntity {
|
||||
Entity e = worldObj.getEntityByID(id);
|
||||
if(e != null && e instanceof ISparkEntity) {
|
||||
ISparkEntity spark = (ISparkEntity) e;
|
||||
if(spark != this && !spark.areIncomingTransfersDone() && spark.getAttachedTile() != null && !spark.getAttachedTile().isFull() && ((getUpgrade() == 0 && spark.getUpgrade() == 2) || (getUpgrade() == 3 && (spark.getUpgrade() == 0 || spark.getUpgrade() == 1))) && spark.getAttachedTile() instanceof IManaPool) {
|
||||
if(spark != this && !spark.areIncomingTransfersDone() && spark.getAttachedTile() != null && !spark.getAttachedTile().isFull() && (((getUpgrade() == 0 && spark.getUpgrade() == 2) || (getUpgrade() == 3 && (spark.getUpgrade() == 0 || spark.getUpgrade() == 1))) || !(spark.getAttachedTile() instanceof IManaPool))) {
|
||||
entities.add((ISparkEntity) e);
|
||||
added = true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user