Add missing callback info
This commit is contained in:
parent
6999b42b1f
commit
604029dcd5
@ -4,6 +4,7 @@ import net.minecraft.world.level.block.entity.BlockEntity;
|
||||
import org.spongepowered.asm.mixin.Mixin;
|
||||
import org.spongepowered.asm.mixin.injection.At;
|
||||
import org.spongepowered.asm.mixin.injection.Inject;
|
||||
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
|
||||
import ru.dbotthepony.mc.otm.core.MultiblockKt;
|
||||
|
||||
// because i know
|
||||
@ -17,7 +18,7 @@ public abstract class BlockEntityMixin {
|
||||
at = @At("TAIL"),
|
||||
method = "setRemoved()V"
|
||||
)
|
||||
public void setRemovedListener() {
|
||||
public void setRemovedListener(CallbackInfo ci) {
|
||||
MultiblockKt.onBlockEntityInvalidated((BlockEntity) (Object) this);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user