Initial stab at 1.11
About halfway.
This commit is contained in:
parent
ce52aea512
commit
00d6f8eb46
157 changed files with 1036 additions and 1554 deletions
|
@ -42,7 +42,7 @@ public class TileSpectralBlock extends TileTicking
|
|||
@Override
|
||||
public void onUpdate()
|
||||
{
|
||||
if (worldObj.isRemote)
|
||||
if (getWorld().isRemote)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
@ -79,7 +79,7 @@ public class TileSpectralBlock extends TileTicking
|
|||
if (!Strings.isNullOrEmpty(containedBlockName))
|
||||
block = ForgeRegistries.BLOCKS.getValue(new ResourceLocation(containedBlockName));
|
||||
|
||||
if (block != null && worldObj.setBlockState(pos, block.getStateFromMeta(containedBlockMeta)))
|
||||
if (block != null && getWorld().setBlockState(pos, block.getStateFromMeta(containedBlockMeta)))
|
||||
getWorld().notifyBlockUpdate(getPos(), getWorld().getBlockState(getPos()), getWorld().getBlockState(getPos()), 3);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue