Swap some nullable annotations (#10960)

This commit is contained in:
Lulu13022002
2024-06-24 00:42:44 +02:00
parent fed26cf9a8
commit acbaa46a96
6 changed files with 90 additions and 41 deletions

View File

@@ -48,7 +48,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ *
+ * @return The potion the witch is drinking
+ */
+ @Nullable ItemStack getDrinkingPotion();
+ @org.jetbrains.annotations.NotNull
+ ItemStack getDrinkingPotion();
+
+ /**
+ * Set the potion the Witch should drink