Skip to content

Commit

Permalink
Fixed NPE in DebugRoadRegen command
Browse files Browse the repository at this point in the history
  • Loading branch information
MattBDev authored and pull[bot] committed Aug 22, 2023
1 parent ddce734 commit f81d5b9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ public boolean regenPlot(PlotPlayer<?> player) {
PlotArea area = location.getPlotArea();
if (area == null) {
player.sendMessage(TranslatableCaption.of("errors.not_in_plot_world"));
return false;
}
Plot plot = player.getCurrentPlot();
if (plot == null) {
Expand Down

0 comments on commit f81d5b9

Please sign in to comment.