in both sides...
This commit is contained in:
1 parent
d13ae34b1e
commit
a44b4439bc
1 file changed
+1
-1
@@ -21,6 +21,6 @@ public abstract class PlayerEntityMixin {
|
|||||||
)
|
)
|
||||||
public void onMaxNetherPortalTime(CallbackInfoReturnable<Integer> cir) {
|
public void onMaxNetherPortalTime(CallbackInfoReturnable<Integer> cir) {
|
||||||
if(CarpetSettings.portalCreativeDelay != 1 && this.abilities.invulnerable) cir.setReturnValue(CarpetSettings.portalCreativeDelay);
|
if(CarpetSettings.portalCreativeDelay != 1 && this.abilities.invulnerable) cir.setReturnValue(CarpetSettings.portalCreativeDelay);
|
||||||
else if(CarpetSettings.portalSurvivalDelay != 80) cir.setReturnValue(CarpetSettings.portalSurvivalDelay);
|
else if(CarpetSettings.portalSurvivalDelay != 80 && !this.abilities.invulnerable) cir.setReturnValue(CarpetSettings.portalSurvivalDelay);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user