add nullable so intellij doesnt complain
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user