Skip to content

Commit

Permalink
Merge pull request #12 from BentoBoxWorld/develop
Browse files Browse the repository at this point in the history
Release 1.2.2
  • Loading branch information
tastybento authored Feb 25, 2025
2 parents 114cb17 + ccaf012 commit cd64e8e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<!-- Revision variable removes warning about dynamic version -->
<revision>${build.version}-SNAPSHOT</revision>
<!-- This allows to change between versions and snapshots. -->
<build.version>1.2.1</build.version>
<build.version>1.2.2</build.version>
<build.number>-LOCAL</build.number>
</properties>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ public void onDancing(PlayerToggleSneakEvent event)

if (!this.checkIsland(event, player, player.getLocation(), FarmersDanceAddon.FARMER_DANCE, true))
{
// Player is not allowed to dance on this island.
// Player is not allowed to dance on this island, but do not cancel the event
event.setCancelled(false);
return;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ public void onDancing(@NotNull PlayerToggleSneakEvent event)

if (!this.checkIsland(event, player, player.getLocation(), FarmersDanceAddon.FARMER_DANCE, false))
{
// Player is not allowed to dance on this island.
// Player is not allowed to dance on this island, but do not cancel the event
event.setCancelled(false);
return;
}

Expand Down

0 comments on commit cd64e8e

Please sign in to comment.