Skip to content

Commit c740ec0

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 8360b9c + c102954 commit c740ec0

File tree

11 files changed

+1937
-26
lines changed

11 files changed

+1937
-26
lines changed

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,6 @@ gradle-app.setting
110110

111111
**/build/
112112

113-
# Common working directory
114-
run/
115-
116113
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
117114
!gradle-wrapper.jar
118115

src/main/java/github/kasuminova/novaeng/NovaEngineeringCore.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public void init(FMLInitializationEvent event) {
112112

113113
@Mod.EventHandler
114114
public void postInit(FMLPostInitializationEvent event) {
115-
PARALLEL_NETWORK_MANAGER.init();
115+
// PARALLEL_NETWORK_MANAGER.init();
116116
proxy.postInit();
117117
}
118118

src/main/java/github/kasuminova/novaeng/mixin/mmce/MixinTaskExecutor.java

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@
22

33
import com.google.common.collect.Sets;
44
import github.kasuminova.mmce.common.concurrent.TaskExecutor;
5-
import github.kasuminova.novaeng.NovaEngineeringCore;
65
import github.kasuminova.novaeng.mixin.util.ITaskExecutor;
76
import net.minecraft.tileentity.TileEntity;
8-
import net.minecraftforge.fml.common.gameevent.TickEvent;
97
import org.spongepowered.asm.mixin.Mixin;
108
import org.spongepowered.asm.mixin.Shadow;
119
import 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

Comments
 (0)