Fix
This commit is contained in:
parent
20da0f14d1
commit
11553d1ea6
@ -21,7 +21,8 @@ public class JustTeleportAlreadyMixin {
|
||||
cir.setReturnValue(world.getGameRules().getInt(Entity_Portal_Cooldown));
|
||||
}
|
||||
|
||||
@Shadow protected int portalCooldown;
|
||||
@Shadow
|
||||
private int portalCooldown;
|
||||
@Inject(method = "tickPortalCooldown", at = @At(value = "RETURN"))
|
||||
private void tickPortalCooldown(CallbackInfo ci) {
|
||||
int maxCooldown = world.getGameRules().getInt(Entity_Portal_Cooldown);
|
||||
|
@ -4,7 +4,8 @@
|
||||
"package": "systems.brn.justteleportalready.mixin",
|
||||
"compatibilityLevel": "JAVA_21",
|
||||
"mixins": [
|
||||
"DontHurtMePearlMixin"
|
||||
"DontHurtMePearlMixin",
|
||||
"JustTeleportAlreadyMixin"
|
||||
],
|
||||
"injectors": {
|
||||
"defaultRequire": 1
|
||||
|
Loading…
Reference in New Issue
Block a user