mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 08:17:35 +00:00
Fix typo in CapabiltyFluidHandler (#4306)
This commit is contained in:
1 parent
68a10b3037
commit
ee27276ba2
1 file changed
+1
-1
@@ -71,7 +71,7 @@ public class CapabilityFluidHandler
|
||||
@Override
|
||||
public void readNBT(Capability<T> capability, T instance, EnumFacing side, NBTBase nbt)
|
||||
{
|
||||
if (!(instance instanceof IFluidTank))
|
||||
if (!(instance instanceof FluidTank))
|
||||
throw new RuntimeException("IFluidHandler instance is not instance of FluidTank");
|
||||
NBTTagCompound tags = (NBTTagCompound) nbt;
|
||||
FluidTank tank = (FluidTank) instance;
|
||||
|
||||
Reference in new issue
Block a user