Typo wrld
This commit is contained in:
@@ -370,7 +370,7 @@ public class CableBusPart extends JCuboidPart implements JNormalOcclusion, IReds
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void removePart(ForgeDirection side, boolean gsuppressUpdate)
|
public void removePart(ForgeDirection side, boolean suppressUpdate)
|
||||||
{
|
{
|
||||||
cb.removePart( side, suppressUpdate );
|
cb.removePart( side, suppressUpdate );
|
||||||
}
|
}
|
||||||
|
|||||||
+11
-11
@@ -110,7 +110,7 @@ public class CachedPlane
|
|||||||
LinkedList<TileEntity> tiles = new LinkedList<TileEntity>();
|
LinkedList<TileEntity> tiles = new LinkedList<TileEntity>();
|
||||||
LinkedList<NextTickListEntry> ticks = new LinkedList<NextTickListEntry>();
|
LinkedList<NextTickListEntry> ticks = new LinkedList<NextTickListEntry>();
|
||||||
|
|
||||||
World wrld;
|
World world;
|
||||||
Block matrixFrame = AEApi.instance().blocks().blockMatrixFrame.block();
|
Block matrixFrame = AEApi.instance().blocks().blockMatrixFrame.block();
|
||||||
IMovableRegistry reg = AEApi.instance().registries().movable();
|
IMovableRegistry reg = AEApi.instance().registries().movable();
|
||||||
|
|
||||||
@@ -118,7 +118,7 @@ public class CachedPlane
|
|||||||
|
|
||||||
public CachedPlane(World w, int minx, int miny, int minz, int maxx, int maxy, int maxz) {
|
public CachedPlane(World w, int minx, int miny, int minz, int maxx, int maxy, int maxz) {
|
||||||
|
|
||||||
wrld = w;
|
world = w;
|
||||||
|
|
||||||
x_size = maxx - minx + 1;
|
x_size = maxx - minx + 1;
|
||||||
y_size = maxy - miny + 1;
|
y_size = maxy - miny + 1;
|
||||||
@@ -200,8 +200,8 @@ public class CachedPlane
|
|||||||
c.chunkTileEntityMap.remove( cp );
|
c.chunkTileEntityMap.remove( cp );
|
||||||
}
|
}
|
||||||
|
|
||||||
long k = wrld.getTotalWorldTime();
|
long k = world.getTotalWorldTime();
|
||||||
List list = wrld.getPendingBlockUpdates( c, false );
|
List list = world.getPendingBlockUpdates( c, false );
|
||||||
if ( list != null )
|
if ( list != null )
|
||||||
{
|
{
|
||||||
for (Object o : list)
|
for (Object o : list)
|
||||||
@@ -223,7 +223,7 @@ public class CachedPlane
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
wrld.loadedTileEntityList.remove( te );
|
world.loadedTileEntityList.remove( te );
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
@@ -321,7 +321,7 @@ public class CachedPlane
|
|||||||
|
|
||||||
private void addTick(int x, int y, int z, NextTickListEntry ntle)
|
private void addTick(int x, int y, int z, NextTickListEntry ntle)
|
||||||
{
|
{
|
||||||
wrld.scheduleBlockUpdate( x + x_offset, y + y_offset, z + z_offset, ntle.func_151351_a(), (int) ntle.scheduledTime );
|
world.scheduleBlockUpdate( x + x_offset, y + y_offset, z + z_offset, ntle.func_151351_a(), (int) ntle.scheduledTime );
|
||||||
}
|
}
|
||||||
|
|
||||||
private void addTile(int x, int y, int z, TileEntity te, CachedPlane alernateDest, IMovableRegistry mr)
|
private void addTile(int x, int y, int z, TileEntity te, CachedPlane alernateDest, IMovableRegistry mr)
|
||||||
@@ -336,14 +336,14 @@ public class CachedPlane
|
|||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
handler.moveTile( te, wrld, x + x_offset, y + y_offset, z + z_offset );
|
handler.moveTile( te, world, x + x_offset, y + y_offset, z + z_offset );
|
||||||
}
|
}
|
||||||
catch (Throwable e)
|
catch (Throwable e)
|
||||||
{
|
{
|
||||||
AELog.error( e );
|
AELog.error( e );
|
||||||
|
|
||||||
// attempt recovery...
|
// attempt recovery...
|
||||||
te.setWorldObj( wrld );
|
te.setWorldObj( world );
|
||||||
te.xCoord = x;
|
te.xCoord = x;
|
||||||
te.yCoord = y;
|
te.yCoord = y;
|
||||||
te.zCoord = z;
|
te.zCoord = z;
|
||||||
@@ -353,8 +353,8 @@ public class CachedPlane
|
|||||||
|
|
||||||
if ( c.c.isChunkLoaded )
|
if ( c.c.isChunkLoaded )
|
||||||
{
|
{
|
||||||
wrld.addTileEntity( te );
|
world.addTileEntity( te );
|
||||||
wrld.markBlockForUpdate( x, y, z );
|
world.markBlockForUpdate( x, y, z );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -392,7 +392,7 @@ public class CachedPlane
|
|||||||
Chunk c = myChunks[x][z];
|
Chunk c = myChunks[x][z];
|
||||||
|
|
||||||
for (int y = 1; y < 255; y += 32)
|
for (int y = 1; y < 255; y += 32)
|
||||||
WorldSettings.getInstance().getCompass().updateArea( wrld, c.xPosition << 4, y, c.zPosition << 4 );
|
WorldSettings.getInstance().getCompass().updateArea( world, c.xPosition << 4, y, c.zPosition << 4 );
|
||||||
|
|
||||||
Platform.sendChunk( c, verticalBits );
|
Platform.sendChunk( c, verticalBits );
|
||||||
|
|
||||||
|
|||||||
@@ -299,10 +299,10 @@ public class StorageHelper
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (WorldCoord wc : cDst.updates)
|
for (WorldCoord wc : cDst.updates)
|
||||||
cDst.wrld.notifyBlockOfNeighborChange( wc.x, wc.y, wc.z, Platform.air );
|
cDst.world.notifyBlockOfNeighborChange( wc.x, wc.y, wc.z, Platform.air );
|
||||||
|
|
||||||
for (WorldCoord wc : cSrc.updates)
|
for (WorldCoord wc : cSrc.updates)
|
||||||
cSrc.wrld.notifyBlockOfNeighborChange( wc.x, wc.y, wc.z, Platform.air );
|
cSrc.world.notifyBlockOfNeighborChange( wc.x, wc.y, wc.z, Platform.air );
|
||||||
|
|
||||||
transverseEdges( x - 1, y - 1, z - 1, x + scaleX + 1, y + scaleY + 1, z + scaleZ + 1, new triggerUpdates( src ) );
|
transverseEdges( x - 1, y - 1, z - 1, x + scaleX + 1, y + scaleY + 1, z + scaleZ + 1, new triggerUpdates( src ) );
|
||||||
transverseEdges( i - 1, j - 1, k - 1, i + scaleX + 1, j + scaleY + 1, k + scaleZ + 1, new triggerUpdates( dst ) );
|
transverseEdges( i - 1, j - 1, k - 1, i + scaleX + 1, j + scaleY + 1, k + scaleZ + 1, new triggerUpdates( dst ) );
|
||||||
|
|||||||
Reference in New Issue
Block a user