Skip to content

Commit

Permalink
ops..
Browse files Browse the repository at this point in the history
  • Loading branch information
tim03we committed Apr 13, 2023
1 parent 84cb991 commit c02b17c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/tim03we/futureplots/utils/Plot.java
Expand Up @@ -71,6 +71,10 @@ public void changeBorder(Block block) {
Server.getInstance().getScheduler().scheduleDelayedTask(FuturePlots.getInstance(), new PlotSetBorderTask(getPlot(x, z, levelName), block), 1, true);
}

public boolean canByPass(Player player) {
return new PlotPlayer(player).canByPass();
}

public boolean canByPass(Player player, Plot plot) {
return new PlotPlayer(player).canByPass(plot);
}
Expand Down

0 comments on commit c02b17c

Please sign in to comment.