Revert "Energy storages item charging fixes, transformers fixes, electric items fixes."
This reverts commit be4f10b975
.
# Conflicts:
# src/main/java/techreborn/init/ModBlocks.java
This commit is contained in:
parent
91945c8dc9
commit
22fd152ec9
63 changed files with 2123 additions and 2154 deletions
|
@ -15,8 +15,9 @@ import net.minecraft.util.math.BlockPos;
|
|||
import net.minecraft.world.World;
|
||||
import net.minecraftforge.fml.relauncher.Side;
|
||||
import net.minecraftforge.fml.relauncher.SideOnly;
|
||||
import reborncore.common.util.PowerLocalization;
|
||||
import reborncore.common.powerSystem.PowerSystem;
|
||||
import techreborn.init.ModBlocks;
|
||||
import techreborn.tiles.TileAesu;
|
||||
|
||||
public class ItemBlockAesu extends ItemBlock
|
||||
{
|
||||
|
@ -34,7 +35,7 @@ public class ItemBlockAesu extends ItemBlock
|
|||
if (stack != null && stack.hasTagCompound())
|
||||
{
|
||||
if (stack.getTagCompound().getCompoundTag("tileEntity") != null)
|
||||
list.add(PowerLocalization.getLocalizedPower(stack.getTagCompound().getCompoundTag("tileEntity").getInteger("energy")));
|
||||
list.add(PowerSystem.getLocalizedPower(stack.getTagCompound().getCompoundTag("tileEntity").getInteger("energy")));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue