mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-14 01:04:16 +00:00
Fixed the Narslimmus being able to absorb slimes that have been absorbed by other Narslimmus already. Closes #1125
This commit is contained in:
1 parent
80235194b6
commit
62f083df33
1 file changed
+1
-1
@@ -38,7 +38,7 @@ public class SubTileNarslimmus extends SubTileGenerating {
|
||||
if(ticksExisted % 5 == 0) {
|
||||
List<EntitySlime> slimes = supertile.getWorldObj().getEntitiesWithinAABB(EntitySlime.class, AxisAlignedBB.getBoundingBox(supertile.xCoord - RANGE, supertile.yCoord - RANGE, supertile.zCoord - RANGE, supertile.xCoord + RANGE + 1, supertile.yCoord + RANGE, supertile.zCoord + RANGE + 1));
|
||||
for(EntitySlime slime : slimes) {
|
||||
if(slime.getEntityData().getBoolean(TAG_WORLD_SPAWNED)) {
|
||||
if(slime.getEntityData().getBoolean(TAG_WORLD_SPAWNED) && !slime.isDead) {
|
||||
int size = slime.getSlimeSize();
|
||||
int mul = (int) Math.pow(2, size);
|
||||
int mana = 820 * mul;
|
||||
|
||||
Reference in new issue
Block a user