Skip to content

Commit 32a64a0

Browse files
committed
Add nullable annotation
1 parent 2477534 commit 32a64a0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

worldedit-core/src/main/java/com/fastasyncworldedit/core/extent/FaweRegionExtent.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626

2727
public abstract class FaweRegionExtent extends ResettableExtent implements IBatchProcessor {
2828

29+
@Nullable
2930
private final FaweLimit limit;
3031
private final boolean hasLimit;
3132

@@ -34,7 +35,7 @@ public abstract class FaweRegionExtent extends ResettableExtent implements IBatc
3435
*
3536
* @param extent the extent
3637
*/
37-
public FaweRegionExtent(Extent extent, FaweLimit limit) {
38+
public FaweRegionExtent(Extent extent, @Nullable FaweLimit limit) {
3839
super(extent);
3940
this.limit = limit;
4041
this.hasLimit = limit != null;

0 commit comments

Comments
 (0)