mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 22:34:21 +00:00
Fix compile errors in API package
This commit is contained in:
1 parent
1dfba5e6c9
commit
4247ba136a
71 files changed
+387
-452
No files matched your search
@@ -180,7 +180,7 @@ public class EntityFlame extends Entity implements IEntityAdditionalSpawnData
|
||||
int meta = worldObj.getBlockMetadata(mop.blockX, mop.blockY, mop.blockZ);
|
||||
boolean fluid = MekanismUtils.isFluid(worldObj, new Coord4D(mop)) || MekanismUtils.isDeadFluid(worldObj, new Coord4D(mop));
|
||||
|
||||
Coord4D sideCoord = new Coord4D(mop.blockX, mop.blockY, mop.blockZ, worldObj.provider.dimensionId).getFromSide(ForgeDirection.getOrientation(mop.sideHit));
|
||||
Coord4D sideCoord = new Coord4D(mop.blockX, mop.blockY, mop.blockZ, worldObj.provider.dimensionId).offset(ForgeDirection.getOrientation(mop.sideHit));
|
||||
|
||||
if(general.aestheticWorldDamage && !fluid && (sideCoord.isAirBlock(worldObj) || sideCoord.isReplaceable(worldObj)))
|
||||
{
|
||||
@@ -238,7 +238,7 @@ public class EntityFlame extends Entity implements IEntityAdditionalSpawnData
|
||||
if(!worldObj.isRemote)
|
||||
{
|
||||
Block b = block.getBlock(worldObj);
|
||||
int meta = block.getMetadata(worldObj);
|
||||
int meta = block.getBlockState(worldObj);
|
||||
|
||||
if(Block.getBlockFromItem(result.getItem()) != Blocks.air)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user