Skip to content

Commit fb3da2f

Browse files
committed
chore: use fluent setter
1 parent a0ee0ca commit fb3da2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Core/src/main/java/com/plotsquared/core/events/PlayerPlotLimitEvent.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public PlayerPlotLimitEvent(@NonNull final PlotPlayer<?> player, @NonNegative fi
4646
* @param limit The amount of plots a player may claim. Must be {@code 0} or greater.
4747
* @since TODO
4848
*/
49-
public void setLimit(@NonNegative final int limit) {
49+
public void limit(@NonNegative final int limit) {
5050
if (limit < 0) {
5151
throw new IllegalArgumentException("Player plot limit must be greater or equal 0");
5252
}

0 commit comments

Comments
 (0)