Skip to content

Commit f2f609f

Browse files
committed
add nullable so intellij doesnt complain
1 parent 68e097f commit f2f609f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

parchment-api/paper-patches/files/src/main/java/io/papermc/paper/event/player/PlayerPickItemEvent.java.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@
3535
this.sourceSlot = sourceSlot;
3636
+ }
3737
+
38-
+ public Location getLocation() {
38+
+ public @org.jetbrains.annotations.Nullable Location getLocation() {
3939
+ return location;
4040
+ }
4141
+
42-
+ public Entity getEntity() {
42+
+ public @org.jetbrains.annotations.Nullable Entity getEntity() {
4343
+ return entity;
4444
}
4545

0 commit comments

Comments
 (0)