mirror of
https://github.com/ViaVersion/ViaFabricPlus.git
synced 2024-12-23 16:58:30 +01:00
improved Bossbar Fix
This commit is contained in:
parent
47af8de417
commit
c85797fa9a
@ -25,7 +25,7 @@ import org.spongepowered.asm.mixin.injection.Redirect;
|
||||
@Mixin(value = CommonBoss.class, remap = false)
|
||||
public class MixinCommonBoss {
|
||||
|
||||
@Redirect(method = "setHealth", at = @At(value = "INVOKE", target = "Lcom/google/common/base/Preconditions;checkArgument(ZLjava/lang/Object;)V"))
|
||||
@Redirect(method = { "<init>", "setHealth" }, at = @At(value = "INVOKE", target = "Lcom/google/common/base/Preconditions;checkArgument(ZLjava/lang/Object;)V"))
|
||||
public void ignoreHealthCheck(boolean expression, Object errorMessage) {
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user