Skip to content
This repository has been archived by the owner on May 13, 2023. It is now read-only.

Commit

Permalink
Fixed the Blood Altar so it can actually fill Blood Orbs (derp).
Browse files Browse the repository at this point in the history
  • Loading branch information
WayofTime committed Apr 23, 2018
1 parent f4aef16 commit 6522b0f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Version 2.2.10
------------------------------------------------------
- Fixed Turret Array crash on servers.

- Fixed the Blood Altar so it can actually fill Blood Orbs (derp).

------------------------------------------------------
Version 2.2.9
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
mod_name=BloodMagic
package_group=com.wayoftime.bloodmagic
mod_version=2.2.8
mod_version=2.2.10
mc_version=1.12.2
forge_version=14.23.2.2611
curse_id=224791
Expand Down
3 changes: 1 addition & 2 deletions src/main/java/WayofTime/bloodmagic/altar/BloodAltar.java
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ private void updateAltar()
return;
}

if (recipe == null)
if (!canBeFilled && recipe == null)
{
startCycle();
return;
Expand Down Expand Up @@ -365,7 +365,6 @@ private void updateAltar()
if (fluid != null && fluid.amount >= 1)
{
int liquidDrained = Math.min((int) (altarTier.ordinal() >= 2 ? orb.getFillRate() * (1 + consumptionMultiplier) : orb.getFillRate()), fluid.amount);

int drain = NetworkHelper.getSoulNetwork(binding).add(liquidDrained, (int) (orb.getCapacity() * this.orbCapacityMultiplier));
fluid.amount = fluid.amount - drain;

Expand Down

0 comments on commit 6522b0f

Please sign in to comment.