Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
reobf committed Sep 9, 2024
1 parent c996e6a commit ba8b0d9
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ catch (Exception ignored) {

// Pulls version first from the VERSION env and then git tag
String identifiedVersion = null
String versionOverride = '0.0.18p20'
String versionOverride = '0.0.18p21'
try {
// Produce a version based on the tag, or for branches something like 0.2.2-configurable-maven-and-extras.38+43090270b6-dirty
if (versionOverride == null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2037,7 +2037,7 @@ public FluidStack[] getFluid(){

public ArrayList<ItemStack> circuitInv=new ArrayList<>();
public void clearCircuit() {
mInventory[0]=null;
mInventory[getCircuitSlot()]=null;
circuitInv.clear();
for(int i=0;i<circuitUpgrades;i++){circuitInv.add(null);}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
package reobf.proghatches.main.mixin.mixins.eucrafting;

import java.lang.invoke.MethodHandle;
import java.lang.invoke.MethodHandles;
import java.lang.reflect.Method;

import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Shadow;
import org.spongepowered.asm.mixin.SoftOverride;

import gregtech.api.metatileentity.BaseTileEntity;
import gregtech.api.metatileentity.CoverableTileEntity;
import gregtech.api.util.GT_CoverBehaviorBase;
Expand All @@ -11,7 +17,7 @@
import reobf.proghatches.eucrafting.AECover.Data;
import reobf.proghatches.main.MyMod;

@Mixin(value = CoverableTileEntity.class, remap = false)
@Mixin(value = CoverableTileEntity.class, remap = true)
public abstract class MixinEUSourceCoverChunkUnloadNotification extends BaseTileEntity {

@Override
Expand All @@ -29,7 +35,9 @@ protected void unloadCover() {
final CoverInfo coverInfo = getCoverInfoAtSide(side);
if (coverInfo.isValid()) {

GT_CoverBehaviorBase<?> be = coverInfo.getCoverBehavior();
Object be = coverInfo.getCoverBehavior();


if (be != null && be instanceof AECover) {
((AECover) be).chunkUnload((Data) coverInfo.getCoverData());

Expand Down

0 comments on commit ba8b0d9

Please sign in to comment.