mirror of
https://github.com/GTNewHorizons/BloodArsenal.git
synced 2026-11-27 15:33:06 +00:00
1.1-7 Update
This commit is contained in:
1 parent
35e4415b11
commit
22d5902218
6 files changed
+21
-7
No files matched your search
@@ -37,7 +37,7 @@ import java.util.Calendar;
|
||||
public class BloodArsenal
|
||||
{
|
||||
public final static String MODID = "BloodArsenal";
|
||||
public final static String VERSION = "1.1-5";
|
||||
public final static String VERSION = "1.1-7";
|
||||
|
||||
@SidedProxy(clientSide = "com.arc.bloodarsenal.ClientProxy", serverSide = "com.arc.bloodarsenal.CommonProxy")
|
||||
public static CommonProxy proxy;
|
||||
|
||||
@@ -3,6 +3,7 @@ package com.arc.bloodarsenal.block;
|
||||
import com.arc.bloodarsenal.BloodArsenal;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
|
||||
public class BlockBloodInfusedDiamond extends Block
|
||||
{
|
||||
@@ -16,4 +17,10 @@ public class BlockBloodInfusedDiamond extends Block
|
||||
setResistance(12.0F);
|
||||
setStepSound(soundTypeMetal);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isBeaconBase(IBlockAccess worldObj, int x, int y, int z, int beaconX, int beaconY, int beaconZ)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -3,6 +3,8 @@ package com.arc.bloodarsenal.block;
|
||||
import com.arc.bloodarsenal.BloodArsenal;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.init.Blocks;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
|
||||
public class BlockInfusedIron extends Block
|
||||
{
|
||||
@@ -16,4 +18,10 @@ public class BlockInfusedIron extends Block
|
||||
setResistance(5.0F);
|
||||
setStepSound(soundTypeMetal);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isBeaconBase(IBlockAccess worldObj, int x, int y, int z, int beaconX, int beaconY, int beaconZ)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -53,7 +53,7 @@ public class EmpoweredSacrificeAmulet extends SacrificeAmulet implements IBauble
|
||||
if (par1ItemStack.getItemDamage() == 1)
|
||||
{
|
||||
String owner = par1ItemStack.stackTagCompound.getString("ownerName");
|
||||
World world = Minecraft.getMinecraft().theWorld;
|
||||
World world = player.worldObj;
|
||||
|
||||
if (!world.isRemote)
|
||||
{
|
||||
@@ -63,7 +63,6 @@ public class EmpoweredSacrificeAmulet extends SacrificeAmulet implements IBauble
|
||||
{
|
||||
if (owner.equals(SpellHelper.getUsername((EntityPlayer) player)))
|
||||
{
|
||||
|
||||
if (!world.isRemote)
|
||||
{
|
||||
if (this.getStoredLP(par1ItemStack) >= 50)
|
||||
|
||||
Reference in new issue
Block a user