@@ -36,7 +36,7 @@ public class MixinCPU implements IExternalManagerHolder{
3636
3737
3838
39- @ Inject (at = { @ At ("HEAD" ) },method ="isDestroyed" ,cancellable =true )
39+ @ Inject (at = { @ At ("HEAD" ) },method ="isDestroyed" ,cancellable =true , require = 1 )
4040 public void isDestroyed (CallbackInfoReturnable <Boolean > ci )
4141 {
4242
@@ -48,7 +48,7 @@ public void isDestroyed(CallbackInfoReturnable<Boolean> ci)
4848 }
4949
5050 }
51- @ Inject (at = { @ At ("HEAD" ) },method ="isActive" ,cancellable =true )
51+ @ Inject (at = { @ At ("HEAD" ) },method ="isActive" ,cancellable =true , require = 1 )
5252 public void isActive (CallbackInfoReturnable <Boolean > ci )
5353 {
5454
@@ -88,7 +88,7 @@ public final TileCPU getIExternalManager() {
8888 return ex ;
8989 }
9090
91- @ Inject (at = { @ At ("TAIL" ) },method ="updateCraftingLogic" )
91+ @ Inject (at = { @ At ("TAIL" ) },method ="updateCraftingLogic" , require = 1 )
9292 public void endCrafting (final IGrid grid , final IEnergyGrid eg , final CraftingGridCache cc ,CallbackInfo ci ,@ Share ("prev" ) LocalRef <Integer > prev )
9393 {
9494
@@ -106,7 +106,7 @@ public int getCoProcessors() {
106106 }*/
107107
108108
109- @ Inject (at = { @ At ("HEAD" ) },method ="getGrid" ,cancellable =true )
109+ @ Inject (at = { @ At ("HEAD" ) },method ="getGrid" ,cancellable =true , require = 1 )
110110 public void getGrid (CallbackInfoReturnable <IGrid > ci )
111111 {
112112
@@ -123,7 +123,7 @@ public void getGrid(CallbackInfoReturnable<IGrid> ci)
123123
124124 }
125125
126- @ Inject (at = { @ At ("HEAD" ) },method ="getCoProcessors" ,cancellable =true )
126+ @ Inject (at = { @ At ("HEAD" ) },method ="getCoProcessors" ,cancellable =true , require = 1 )
127127 public void getCoProcessors (CallbackInfoReturnable <Integer > ci )
128128 {
129129
@@ -136,7 +136,7 @@ public void getCoProcessors(CallbackInfoReturnable<Integer> ci)
136136
137137 }
138138
139- @ Inject (at = { @ At (shift = Shift .AFTER ,value ="FIELD" ,opcode =Opcodes .PUTFIELD , target = "Lappeng/me/cluster/implementations/CraftingCPUCluster;remainingOperations:I" ) },method ="updateCraftingLogic" )
139+ @ Inject (at = { @ At (shift = Shift .AFTER ,value ="FIELD" ,opcode =Opcodes .PUTFIELD , target = "Lappeng/me/cluster/implementations/CraftingCPUCluster;remainingOperations:I" ) },method ="updateCraftingLogic" , require = 1 )
140140 public void startCrafting (final IGrid grid , final IEnergyGrid eg , final CraftingGridCache cc ,CallbackInfo ci ,@ Share ("prev" ) LocalRef <Integer > prev )
141141 {
142142
@@ -160,7 +160,7 @@ public void setStorage(long v) {
160160
161161
162162
163- @ Inject (at = { @ At ("HEAD" ) },method ="submitJob" )
163+ @ Inject (at = { @ At ("HEAD" ) },method ="submitJob" , require = 1 )
164164
165165 public void submitJobPre (final IGrid g , final ICraftingJob job , final BaseActionSource src ,
166166 final ICraftingRequester requestingMachine ,CallbackInfoReturnable donotcare ,@ Share ("prevS" ) LocalRef <Long > prev ) {
@@ -174,7 +174,7 @@ public void submitJobPre(final IGrid g, final ICraftingJob job, final BaseAction
174174
175175 shift = Shift .BEFORE ,value ="FIELD" ,opcode =Opcodes .GETFIELD , target = "Lappeng/me/cluster/implementations/CraftingCPUCluster;providers:Ljava/util/HashMap;" ) }
176176
177- ,method ="submitJob" ,cancellable =true )
177+ ,method ="submitJob" ,cancellable =true , require = 1 )
178178
179179 public void submitJobPost (final IGrid g , final ICraftingJob job , final BaseActionSource src ,
180180 final ICraftingRequester requestingMachine ,CallbackInfoReturnable c ,@ Share ("prevS" ) LocalRef <Long > prev ) {
@@ -184,7 +184,7 @@ public void submitJobPost(final IGrid g, final ICraftingJob job, final BaseActio
184184
185185
186186
187- @ Inject (at = { @ At ("HEAD" ) },method ="updateCraftingLogic" ,cancellable =true )
187+ @ Inject (at = { @ At ("HEAD" ) },method ="updateCraftingLogic" ,cancellable =true , require = 1 )
188188 public void start (final IGrid grid , final IEnergyGrid eg , final CraftingGridCache cc ,CallbackInfo ci )
189189 {
190190
@@ -197,7 +197,7 @@ public void start(final IGrid grid, final IEnergyGrid eg, final CraftingGridCach
197197
198198 }
199199
200- @ Inject (at = { @ At ("HEAD" ) },method ="getName" ,cancellable =true )
200+ @ Inject (at = { @ At ("HEAD" ) },method ="getName" ,cancellable =true , require = 1 )
201201
202202 public void getName (CallbackInfoReturnable r ) {
203203 if (ex !=null )
0 commit comments