why did i do this

This commit is contained in:
DBotThePony 2023-03-15 07:19:11 +07:00
parent d8a9b0e15b
commit 873b0aa889
Signed by: DBot
GPG Key ID: DCC23B5715498507
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ import ru.dbotthepony.mc.otm.config.ServerCompatConfig;
@Mixin(EntityOxygenSystem.class)
public class EntityOxygenSystemMixin {
@Inject(
method = "oxygenTick()V",
method = "oxygenTick(Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/server/level/ServerLevel;)V",
at = @At("HEAD"),
cancellable = true,
remap = false

View File

@ -14,7 +14,7 @@ import ru.dbotthepony.mc.otm.config.ServerCompatConfig;
@Mixin(OxygenUtils.class)
public class OxygenUtilsMixin {
@Inject(
method = "entityHasOxygen()Z",
method = "entityHasOxygen(Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/LivingEntity;)Z",
at = @At("HEAD"),
cancellable = true,
remap = false