Skip to content

Commit

Permalink
fix: souts
Browse files Browse the repository at this point in the history
  • Loading branch information
MatzHilven committed Jun 23, 2024
1 parent 295caaf commit 140fb4e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/main/java/com/slampvp/factory/plot/PlotListener.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ public PlotListener() {
Optional<Plot> optionalPlot = plotManager.getPlot(position);

if (optionalPlot.isEmpty()) {
System.out.println("no plot");
event.setCancelled(true);
return;
}
Expand Down
5 changes: 0 additions & 5 deletions src/main/java/com/slampvp/factory/plot/PlotManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -242,13 +242,8 @@ public MergeResult mergePlot(Player player) {

Plot targetPlot = optionalTargetPlot.get();

player.sendMessage(plot.getStart() + " " + plot.getEnd());
player.sendMessage(targetPlot.getStart() + " " + targetPlot.getEnd());

plot.mergeWith(targetPlot);

player.sendMessage(plot.getStart() + " " + plot.getEnd());

PlotGenerator.setPlotBorder(plot, player.getInstance());
plots.remove(targetPlot);

Expand Down

0 comments on commit 140fb4e

Please sign in to comment.