Minor Cleanup.

This commit is contained in:
AlgorithmX2 2014-08-03 00:06:19 -05:00
parent 1f2be6b1b3
commit ef40410511
2 changed files with 1 additions and 6 deletions

View file

@ -424,9 +424,6 @@ public class FacadePart implements IFacadePart
try
{
int color = ib.getColorFromItemStack( randomItem, 0 );
float r = (color >> 16 & 0xff) / 255F;
float g = (color >> 8 & 0xff) / 255F;
float b = (color & 0xff) / 255F;
GL11.glColor4f( 1.0f, 1.0f, 1.0f, 1.0F );
instance.setInvColor( color );
}

View file

@ -13,7 +13,6 @@ import net.minecraft.util.MathHelper;
import net.minecraft.world.Teleporter;
import net.minecraft.world.World;
import net.minecraft.world.WorldServer;
import net.minecraft.world.chunk.Chunk;
import appeng.api.AEApi;
import appeng.api.util.WorldCoord;
import appeng.block.spatial.BlockMatrixFrame;
@ -174,8 +173,7 @@ public class StorageHelper
}
// load the chunk!
Chunk myChunk = WorldServer.class.cast( newWorld ).getChunkProvider()
.loadChunk( MathHelper.floor_double( link.x ) >> 4, MathHelper.floor_double( link.z ) >> 4 );
WorldServer.class.cast( newWorld ).getChunkProvider().loadChunk( MathHelper.floor_double( link.x ) >> 4, MathHelper.floor_double( link.z ) >> 4 );
boolean difDest = newWorld != oldWorld;
if ( difDest )