<1500 errors

This commit is contained in:
aidancbrady committed 2016-05-24 21:22:39 -04:00
1 parent 1f33df57fa
commit c6a09b5658
433 files changed
+2967 -1474

No files matched your search

@@ -500,14 +500,14 @@ public class ItemBlockMachine extends ItemBlock implements IEnergizedItem, ISpec
{
if(SecurityUtils.canAccess(entityplayer, itemstack))
{
MovingObjectPosition pos = getMovingObjectPositionFromPlayer(world, entityplayer, !entityplayer.isSneaking());
RayTraceResult pos = getRayTraceResultFromPlayer(world, entityplayer, !entityplayer.isSneaking());
if(pos == null)
{
return itemstack;
}
else {
if(pos.typeOfHit == MovingObjectPosition.MovingObjectType.BLOCK)
if(pos.typeOfHit == RayTraceResult.MovingObjectType.BLOCK)
{
Coord4D coord = new Coord4D(pos.getBlockPos(), world);