Skip to content

Commit

Permalink
Fix cannot measure distance error again
Browse files Browse the repository at this point in the history
  • Loading branch information
Archy-X committed Jul 30, 2024
1 parent bd0d96a commit 0555b3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Changelog for versions since 2.0.0.
- The `health` key overrides the entity max health attribute
- The `damage` key overrides the entity attack damage attribute
- The `level` key can be used to define the AuraMobs or MythicMobs level
- The default vertical and horizontal velocities when caught can be overridden with `entity.horizontal` and `entity.vertical`
- The default vertical and horizontal velocities when caught can be overridden with `velocity.horizontal` and `velocity.vertical`
- The keys `hand`, `off_hand`, `feet`, `legs`, `chest`, and `head` are used to define equipment on the spawned entity
- The value is a mapping in the same item format as regular item loot (Using keys `material`, `enchantments`, etc.)
- Add boss bar animation using delay when upgrading progress
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public boolean failsCheck(CheckData data, Player player) {

if (prevLoc == null) return false;

if (!Objects.equals(currentLoc.getWorld(), currentLoc.getWorld())) {
if (!Objects.equals(currentLoc.getWorld(), prevLoc.getWorld())) {
data.resetCount();
return false;
}
Expand Down

0 comments on commit 0555b3d

Please sign in to comment.