fix compilation, fix getEnergyProvider hook on engines
This commit is contained in:
parent
9fec760eb4
commit
d5422d5cca
2 changed files with 2 additions and 2 deletions
|
@ -383,7 +383,7 @@ public abstract class TileEngineBase extends TileBuildCraft implements IPipeConn
|
|||
for (int i = orientation.ordinal() + 1; i <= orientation.ordinal() + 6; ++i) {
|
||||
ForgeDirection o = ForgeDirection.VALID_DIRECTIONS[i % 6];
|
||||
|
||||
TileEntity tile = getTile(o);
|
||||
Object tile = getEnergyProvider(o);
|
||||
|
||||
if ((!pipesOnly || tile instanceof IPipeTile) && isPoweredTile(tile, o)) {
|
||||
orientation = o;
|
||||
|
|
|
@ -20,7 +20,7 @@ public final class ThreadSafeUtils {
|
|||
|
||||
}
|
||||
|
||||
private static Chunk getChunkHacky(World world, int x, int z) {
|
||||
public static Chunk getChunk(World world, int x, int z) {
|
||||
Chunk chunk;
|
||||
chunk = lastChunk.get();
|
||||
|
||||
|
|
Loading…
Reference in a new issue