22
33import com .google .common .collect .Sets ;
44import github .kasuminova .mmce .common .concurrent .TaskExecutor ;
5- import github .kasuminova .novaeng .NovaEngineeringCore ;
65import github .kasuminova .novaeng .mixin .util .ITaskExecutor ;
76import net .minecraft .tileentity .TileEntity ;
8- import net .minecraftforge .fml .common .gameevent .TickEvent ;
97import org .spongepowered .asm .mixin .Mixin ;
108import org .spongepowered .asm .mixin .Shadow ;
119import org .spongepowered .asm .mixin .Unique ;
@@ -23,21 +21,21 @@ public abstract class MixinTaskExecutor implements ITaskExecutor {
2321 @ Unique
2422 private final Set <TileEntity > novaeng$requireMarkDirtyTEQueue = Sets .newIdentityHashSet ();
2523
26- @ Inject (
27- method = "onServerTick" ,
28- at = @ At (
29- value = "INVOKE" ,
30- target = "Lgithub/kasuminova/mmce/common/concurrent/TaskExecutor;executeActions()I"
31- ),
32- remap = false
33- )
34- private void injectOnServerTickExecuteActions (final TickEvent .ServerTickEvent event , final CallbackInfo ci ) {
35- if (event .phase != TickEvent .Phase .END ) {
36- return ;
37- }
38- NovaEngineeringCore .PARALLEL_NETWORK_MANAGER .execute ();
24+ // @Inject(
25+ // method = "onServerTick",
26+ // at = @At(
27+ // value = "INVOKE",
28+ // target = "Lgithub/kasuminova/mmce/common/concurrent/TaskExecutor;executeActions()I"
29+ // ),
30+ // remap = false
31+ // )
32+ // private void injectOnServerTickExecuteActions(final TickEvent.ServerTickEvent event, final CallbackInfo ci) {
33+ // if (event.phase != TickEvent.Phase.END) {
34+ // return;
35+ // }
36+ // NovaEngineeringCore.PARALLEL_NETWORK_MANAGER.execute();
3937// TaskExecutor.totalExecuted += this.executeActions();
40- }
38+ // }
4139
4240 @ Inject (method = "updateTileEntity" , at = @ At ("HEAD" ), remap = false )
4341 private void injectUpdateTE (final CallbackInfo ci ) {
0 commit comments