From 65c0ae60f8ebbec211ee986cab9a01aa8306e1be Mon Sep 17 00:00:00 2001 From: Sollace Date: Tue, 2 Jun 2020 13:40:33 +0200 Subject: [PATCH] Fix typo --- .../unicopia/gas/CloudInteractionContext.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/java/com/minelittlepony/unicopia/gas/CloudInteractionContext.java b/src/main/java/com/minelittlepony/unicopia/gas/CloudInteractionContext.java index b8711482..d80a11f4 100644 --- a/src/main/java/com/minelittlepony/unicopia/gas/CloudInteractionContext.java +++ b/src/main/java/com/minelittlepony/unicopia/gas/CloudInteractionContext.java @@ -19,7 +19,7 @@ public interface CloudInteractionContext { return false; } - default boolean isPegasis() { + default boolean isPegasus() { return false; } @@ -42,8 +42,8 @@ public interface CloudInteractionContext { } @Override - default boolean isPegasis() { - return getCloudInteractionContext().isPegasis(); + default boolean isPegasus() { + return getCloudInteractionContext().isPegasus(); } @Override @@ -66,13 +66,13 @@ public interface CloudInteractionContext { private static final CloudInteractionContext EMPTY = type -> true; private final boolean isPlayer; - private final boolean isPegasis; + private final boolean isPegasus; private ItemStack main = ItemStack.EMPTY; private Impl(Entity entity) { this.isPlayer = EquinePredicates.IS_PLAYER.test(entity); - this.isPegasis = EquinePredicates.ENTITY_INTERACT_WITH_CLOUD_BLOCKS.test(entity); + this.isPegasus = EquinePredicates.ENTITY_INTERACT_WITH_CLOUD_BLOCKS.test(entity); if (entity instanceof LivingEntity) { main = ((LivingEntity)entity).getMainHandStack(); @@ -88,13 +88,13 @@ public interface CloudInteractionContext { } @Override - public boolean isPegasis() { - return isPegasis; + public boolean isPegasus() { + return isPegasus; } @Override public boolean canTouch(GasState type) { - return type.isTouchable(isPlayer(), isPegasis()); + return type.isTouchable(isPlayer(), isPegasus()); } @Override