mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-20 04:09:51 +00:00
Clean up null issues, add more annotations (#3590)
This commit is contained in:
1 parent
43efa3cfc4
commit
c545b8ecd4
130 files changed
+629
-262
No files matched your search
@@ -96,7 +96,7 @@ public class FluidBucketWrapper implements IFluidHandlerItem, ICapabilityProvide
|
||||
}
|
||||
}
|
||||
|
||||
protected void setFluid(Fluid fluid) {
|
||||
protected void setFluid(@Nullable Fluid fluid) {
|
||||
if (fluid == null)
|
||||
{
|
||||
container = new ItemStack(Items.BUCKET);
|
||||
|
||||
Reference in new issue
Block a user