Skip to content

Commit

Permalink
Fix #879
Browse files Browse the repository at this point in the history
Signed-off-by: Ross Allan <rallanpcl@gmail.com>
  • Loading branch information
LunNova committed Jul 11, 2013
1 parent ae2f916 commit 6740a7b
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions resources/patches-deobfuscated.xml
Expand Up @@ -1576,12 +1576,6 @@
configureController,getCellArray,^method:TileEntity/updateEntity^,advanceCraftingCursor,resetWaitingQueue,signalInput(L^class:ItemStack^;)V,signalInput(Lappeng.api.me.util.IMEInventory;L^class:ItemStack^;)L^class:ItemStack^;
</synchronize>
</class>
<class id="appeng.me.tile.TileDrive">
<synchronize>getCellArray,resetCache</synchronize>
</class>
<class id="appeng.me.tile.TileChest">
<synchronize>getCellArray,resetCache</synchronize>
</class>
<class id="appeng.me.tile.TileStorageBus">
<replaceMethod code="{
super.g();
Expand Down Expand Up @@ -1699,6 +1693,19 @@
">
<newMethod code="public void ^method:TileEntity/updateEntity^() { }" ignoreDuplicate=""/>
<renameInterfaceMethod name="tickNetwork" interface="appeng.api.me.tiles.IGridMachine" allowMissing="">^method:TileEntity/updateEntity^</renameInterfaceMethod>
<newMethod code="private Object getNetworkLock() {
Object o = getGrid();
if (o instanceof appeng.api.TileRef) {
o = ((appeng.api.TileRef) o).getTile();
}
return o == null ? new Object() : o;
}"/>
</class>
<class id="appeng.me.tile.TileDrive">
<synchronize field="getNetworkLock()">getCellArray,resetCache</synchronize>
</class>
<class id="appeng.me.tile.TileChest">
<synchronize field="getNetworkLock()">getCellArray,resetCache</synchronize>
</class>
</appliedEnergistics>
<xyCraft>
Expand Down

0 comments on commit 6740a7b

Please sign in to comment.