Skip to content

Commit

Permalink
Mines: Minor change: Simplify how the command is ran so there is one …
Browse files Browse the repository at this point in the history
…exit point instead of two.
  • Loading branch information
rbluer committed Sep 7, 2024
1 parent b5cfd02 commit d1c1168
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 3 additions & 0 deletions docs/changelog_v3.3.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ These change logs represent the work that has been going on within prison.
# 3.3.0-alpha.18d 2024-09-06


* **Mines: Minor change: Simplify how the command is ran so there is one exit point instead of two.**


* **AutoFeatures: PrisonEnchants (Pulsi's): Made changes to handle explosion events that happen outside of the mine, but there are some blocks that are within the mine.**
This prevents PrisonEnchants, or bukkit, from breaking the blocks within the mine.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -873,10 +873,8 @@ public TreeMap<String, PrisonBlockStatusData> getBlockStats() {


public boolean isInMineExact(Location location) {
if ( isVirtual() ) {
return false;
}
return getBounds().within(location);

return !isVirtual() && getBounds().within(location);
}

public boolean isInMineIncludeTopBottomOfMine(Location location) {
Expand Down

0 comments on commit d1c1168

Please sign in to comment.