Minor Cleanup.
This commit is contained in:
parent
1f2be6b1b3
commit
ef40410511
2 changed files with 1 additions and 6 deletions
|
@ -424,9 +424,6 @@ public class FacadePart implements IFacadePart
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
int color = ib.getColorFromItemStack( randomItem, 0 );
|
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 );
|
GL11.glColor4f( 1.0f, 1.0f, 1.0f, 1.0F );
|
||||||
instance.setInvColor( color );
|
instance.setInvColor( color );
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,7 +13,6 @@ import net.minecraft.util.MathHelper;
|
||||||
import net.minecraft.world.Teleporter;
|
import net.minecraft.world.Teleporter;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
import net.minecraft.world.WorldServer;
|
import net.minecraft.world.WorldServer;
|
||||||
import net.minecraft.world.chunk.Chunk;
|
|
||||||
import appeng.api.AEApi;
|
import appeng.api.AEApi;
|
||||||
import appeng.api.util.WorldCoord;
|
import appeng.api.util.WorldCoord;
|
||||||
import appeng.block.spatial.BlockMatrixFrame;
|
import appeng.block.spatial.BlockMatrixFrame;
|
||||||
|
@ -174,8 +173,7 @@ public class StorageHelper
|
||||||
}
|
}
|
||||||
|
|
||||||
// load the chunk!
|
// load the chunk!
|
||||||
Chunk myChunk = WorldServer.class.cast( newWorld ).getChunkProvider()
|
WorldServer.class.cast( newWorld ).getChunkProvider().loadChunk( MathHelper.floor_double( link.x ) >> 4, MathHelper.floor_double( link.z ) >> 4 );
|
||||||
.loadChunk( MathHelper.floor_double( link.x ) >> 4, MathHelper.floor_double( link.z ) >> 4 );
|
|
||||||
|
|
||||||
boolean difDest = newWorld != oldWorld;
|
boolean difDest = newWorld != oldWorld;
|
||||||
if ( difDest )
|
if ( difDest )
|
||||||
|
|
Loading…
Reference in a new issue