Remove SideOnly(Client) in IBlockAccess.isAirBlock

This commit is contained in:
LexManos 2013-07-21 11:01:38 -07:00
parent ee70b21460
commit 8c3ebc7f87
2 changed files with 19 additions and 3 deletions

View file

@ -49,7 +49,14 @@
} }
/** /**
@@ -325,8 +338,8 @@ @@ -318,15 +331,13 @@
return this.worldObj.getWorldVec3Pool();
}
- @SideOnly(Side.CLIENT)
-
/**
* Returns true if the block at the specified coordinates is empty
*/ */
public boolean isAirBlock(int par1, int par2, int par3) public boolean isAirBlock(int par1, int par2, int par3)
{ {
@ -60,7 +67,7 @@
} }
@SideOnly(Side.CLIENT) @SideOnly(Side.CLIENT)
@@ -449,4 +462,22 @@ @@ -449,4 +460,22 @@
int i1 = this.getBlockId(par1, par2, par3); int i1 = this.getBlockId(par1, par2, par3);
return i1 == 0 ? 0 : Block.blocksList[i1].isProvidingStrongPower(this, par1, par2, par3, par4); return i1 == 0 ? 0 : Block.blocksList[i1].isProvidingStrongPower(this, par1, par2, par3, par4);
} }

View file

@ -8,7 +8,16 @@
public interface IBlockAccess public interface IBlockAccess
{ {
@@ -103,4 +104,16 @@ @@ -59,8 +60,6 @@
*/
boolean isBlockNormalCube(int i, int j, int k);
- @SideOnly(Side.CLIENT)
-
/**
* Returns true if the block at the specified coordinates is empty
*/
@@ -103,4 +102,16 @@
* Is this block powering in the specified direction Args: x, y, z, direction * Is this block powering in the specified direction Args: x, y, z, direction
*/ */
int isBlockProvidingPowerTo(int i, int j, int k, int l); int isBlockProvidingPowerTo(int i, int j, int k, int l);