mirror of
https://github.com/GTNewHorizons/Applied-Energistics-2-Unofficial.git
synced 2026-10-25 20:22:23 +00:00
Prevent recursive call (#506)
This commit is contained in:
1 parent
bca4668bb0
commit
74ca33cc34
2 files changed
+3
-1
No files matched your search
@@ -31,3 +31,4 @@ src/main/resources/mixins.*.json
|
||||
*.bat
|
||||
*.DS_Store
|
||||
!gradlew.bat
|
||||
layout.json
|
||||
@@ -469,7 +469,8 @@ public class PartStorageBus extends PartUpgradeable implements IGridTickable, IC
|
||||
|
||||
try {
|
||||
// force grid to update handlers...
|
||||
this.getProxy().getGrid().postEvent(new MENetworkCellArrayUpdate());
|
||||
if (!(new Throwable().getStackTrace()[3].getMethodName().equals("cellUpdate")))
|
||||
this.getProxy().getGrid().postEvent(new MENetworkCellArrayUpdate());
|
||||
} catch (final GridAccessException e) {
|
||||
// :3
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user