Clean up more null issues

This commit is contained in:
mezz committed 2016-12-28 23:55:10 -08:00
1 parent 1fa461430e
commit 4abbc92472
142 files changed
+707 -617

No files matched your search

@@ -5,8 +5,6 @@
******************************************************************************/
package forestry.api.apiculture;
import javax.annotation.Nullable;
import net.minecraft.item.ItemStack;
public interface IHiveFrame {
@@ -18,9 +16,8 @@ public interface IHiveFrame {
* @param frame ItemStack containing the actual frame.
* @param queen Current queen in the caller.
* @param wear Integer denoting the amount worn out. The wear modifier of the current beekeeping mode has already been taken into account.
* @return ItemStack containing the actual frame with adjusted damage, or null if it has been broken.
* @return ItemStack containing the actual frame with adjusted damage, or Empty ItemStack if it has been broken.
*/
@Nullable
ItemStack frameUsed(IBeeHousing housing, ItemStack frame, IBee queen, int wear);
IBeeModifier getBeeModifier();