Skip to content

Commit

Permalink
maintain binary compat
Browse files Browse the repository at this point in the history
  • Loading branch information
UpcraftLP committed Apr 27, 2024
1 parent 9f457bd commit 0584433
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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;

Expand All @@ -21,5 +22,7 @@ public interface IcarusPlayerValues {

boolean maxHeightEnabled();

TagKey<Level> noFlyingAllowedInDimensions();
default TagKey<Level> noFlyingAllowedInDimensions() {
return IcarusDimensionTags.NO_FLYING_ALLOWED;
}
}

0 comments on commit 0584433

Please sign in to comment.