Clean up some null annotations

This commit is contained in:
mezz committed 2017-04-19 00:52:10 -07:00
1 parent cc20e2d339
commit 3bb678258f
29 files changed
+97 -38

No files matched your search

@@ -422,6 +422,7 @@ public class TileEntityFlower extends TileEntity implements IPollinatable, IButt
return true;
}
@Nullable
public GameProfile getOwner() {
return this.owner;
}
@@ -507,6 +508,7 @@ public class TileEntityFlower extends TileEntity implements IPollinatable, IButt
}
@Override
@Nullable
public IButterfly getCaterpillar() {
return this.caterpillar;
}
@@ -517,7 +519,7 @@ public class TileEntityFlower extends TileEntity implements IPollinatable, IButt
}
@Override
public void setCaterpillar(final IButterfly butterfly) {
public void setCaterpillar(@Nullable final IButterfly butterfly) {
this.caterpillar = butterfly;
this.matureTime = 0;
}