mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-18 03:15:07 +00:00
The Solegnolia no longer uses mana.
This commit is contained in:
1 parent
11f8e41954
commit
37e437955e
2 files changed
+3
-6
No files matched your search
@@ -38,9 +38,6 @@ public class SubTileSolegnolia extends SubTileFunctional {
|
||||
if(!registered)
|
||||
registered = true;
|
||||
}
|
||||
|
||||
if(ticksExisted % 10 == 0 && mana > 0 && redstoneSignal == 0)
|
||||
mana--;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -50,7 +47,7 @@ public class SubTileSolegnolia extends SubTileFunctional {
|
||||
|
||||
public static boolean hasSolegnoliaAround(Entity e) {
|
||||
for(SubTileSolegnolia flower : existingFlowers) {
|
||||
if(flower.mana == 0 || flower.redstoneSignal > 0 || flower.supertile.getWorldObj() != e.worldObj || flower.supertile.getWorldObj().getTileEntity(flower.supertile.xCoord, flower.supertile.yCoord, flower.supertile.zCoord) != flower.supertile)
|
||||
if(flower.redstoneSignal > 0 || flower.supertile.getWorldObj() != e.worldObj || flower.supertile.getWorldObj().getTileEntity(flower.supertile.xCoord, flower.supertile.yCoord, flower.supertile.zCoord) != flower.supertile)
|
||||
continue;
|
||||
|
||||
double range = flower.getRange();
|
||||
@@ -63,7 +60,7 @@ public class SubTileSolegnolia extends SubTileFunctional {
|
||||
|
||||
@Override
|
||||
public int getMaxMana() {
|
||||
return 20;
|
||||
return 1;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user