We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
/set
1 parent 6cbb894 commit 0403a04Copy full SHA for 0403a04
Core/src/main/java/com/plotsquared/core/command/SetCommand.java
@@ -32,8 +32,7 @@ public abstract class SetCommand extends SubCommand {
32
33
@Override
34
public boolean onCommand(PlotPlayer<?> player, String[] args) {
35
- Location location = player.getLocation();
36
- Plot plot = location.getPlotAbs();
+ Plot plot = player.getCurrentPlot();
37
if (plot == null) {
38
player.sendMessage(TranslatableCaption.of("errors.not_in_plot"));
39
return false;
0 commit comments