Merge branch '1.8-Rewrite' of https://github.com/WayofTime/BloodMagic into 1.8-Rewrite
This commit is contained in:
commit
08e7844df1
15 changed files with 388 additions and 84 deletions
|
@ -111,7 +111,6 @@ public class TileAltar extends TileInventory implements IBloodAltar, IUpdatePlay
|
|||
else
|
||||
tagCompound.setString(NBTHolder.NBT_EMPTY, "");
|
||||
|
||||
|
||||
if (fluidOutput != null)
|
||||
tagCompound.setInteger(NBTHolder.NBT_OUTPUT_AMOUNT, fluidOutput.amount);
|
||||
|
||||
|
@ -313,7 +312,7 @@ public class TileAltar extends TileInventory implements IBloodAltar, IUpdatePlay
|
|||
if (fluid != null && fluid.amount >= 1) {
|
||||
int liquidDrained = Math.min((int) (altarTier.ordinal() >= 2 ? consumptionRate * (1 + consumptionMultiplier) : consumptionRate), fluid.amount);
|
||||
|
||||
int drain = NetworkHelper.addCurrentEssenceToMaximum(ownerName, liquidDrained, (int) (item.getMaxEssence(returnedItem.getMetadata()) * this.orbCapacityMultiplier));
|
||||
int drain = NetworkHelper.getSoulNetwork(ownerName, getWorld()).addLifeEssence(liquidDrained, (int) (item.getMaxEssence(returnedItem.getMetadata()) * this.orbCapacityMultiplier));
|
||||
|
||||
fluid.amount = fluid.amount - drain;
|
||||
|
||||
|
|
8
src/main/java/WayofTime/bloodmagic/tile/TilePlinth.java
Normal file
8
src/main/java/WayofTime/bloodmagic/tile/TilePlinth.java
Normal file
|
@ -0,0 +1,8 @@
|
|||
package WayofTime.bloodmagic.tile;
|
||||
|
||||
public class TilePlinth extends TileInventory {
|
||||
|
||||
public TilePlinth() {
|
||||
super(1, "plinth");
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue