add nullable so intellij doesnt complain

This commit is contained in:
Blast-MC
2025-03-06 14:29:34 -05:00
parent 68e097f2b2
commit f2f609f0fe

View File

@@ -35,11 +35,11 @@
this.sourceSlot = sourceSlot; this.sourceSlot = sourceSlot;
+ } + }
+ +
+ public Location getLocation() { + public @org.jetbrains.annotations.Nullable Location getLocation() {
+ return location; + return location;
+ } + }
+ +
+ public Entity getEntity() { + public @org.jetbrains.annotations.Nullable Entity getEntity() {
+ return entity; + return entity;
} }