diff --git a/Common/src/main/java/dev/cammiescorner/icarus/api/IcarusPlayerValues.java b/Common/src/main/java/dev/cammiescorner/icarus/api/IcarusPlayerValues.java index 28380f3..19a5841 100644 --- a/Common/src/main/java/dev/cammiescorner/icarus/api/IcarusPlayerValues.java +++ b/Common/src/main/java/dev/cammiescorner/icarus/api/IcarusPlayerValues.java @@ -1,5 +1,6 @@ package dev.cammiescorner.icarus.api; +import dev.cammiescorner.icarus.init.IcarusDimensionTags; import net.minecraft.tags.TagKey; import net.minecraft.world.level.Level; @@ -21,5 +22,7 @@ public interface IcarusPlayerValues { boolean maxHeightEnabled(); - TagKey noFlyingAllowedInDimensions(); + default TagKey noFlyingAllowedInDimensions() { + return IcarusDimensionTags.NO_FLYING_ALLOWED; + } }