crash fix
This commit is contained in:
@@ -26,7 +26,7 @@ registrate_version = MC1.20-1.3.3
|
||||
mod_id=tfmg
|
||||
mod_name=Create: The Factory Must Grow
|
||||
mod_license=MIT
|
||||
mod_version=1.0f
|
||||
mod_version=1.0.1b
|
||||
mod_group_id=com.drmangotea
|
||||
mod_authors= DrMangoTea, Pepa, Luna
|
||||
mod_description= Create: The Factory Must Grow brings the age of steel, oil and electricity to the Create mod.
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
package com.drmangotea.tfmg.mixin;
|
||||
|
||||
|
||||
import net.minecraft.Util;
|
||||
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;
|
||||
|
||||
@Mixin(Util.class)
|
||||
public class UtilMixin {
|
||||
|
||||
|
||||
@Inject(at = @At("HEAD"), method = "logAndPauseIfInIde(Ljava/lang/String;)V", cancellable = true, remap = true)
|
||||
private static void logAndPauseIfInIde(String message, CallbackInfo ci) {
|
||||
if (message.contains("tfmg"))
|
||||
ci.cancel();
|
||||
|
||||
}
|
||||
}
|
||||
@@ -10,7 +10,6 @@
|
||||
"FluidTankBlockEntityMixin",
|
||||
"GoggleOverlayRendererMixin",
|
||||
"PipeAttachmentModelMixin",
|
||||
"UtilMixin",
|
||||
"accessor.FluidTankBlockEntityAccessor",
|
||||
"accessor.TankSegmentAccessor"
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user