mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-17 02:55:17 +00:00
Cleanup some null checks and remove deprecated methods in Item and Block (#3429)
This commit is contained in:
1 parent
2823447b6e
commit
2bd8b95a3b
31 files changed
+175
-174
No files matched your search
@@ -263,8 +263,11 @@ public class DynBucketTest
|
||||
{
|
||||
ItemStack heldItem = playerIn.getHeldItem(hand);
|
||||
IFluidHandler tank = FluidUtil.getFluidHandler(worldIn, pos, side.getOpposite());
|
||||
if (tank == null) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (null == null)
|
||||
if (heldItem.func_190926_b())
|
||||
{
|
||||
sendText(playerIn, tank);
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user