public void Combine(IItemStack s2, IWorld world) { if (!CanCombine(s2)) { throw new ArgumentException("Unable to combine objects because they were were not compatible"); } StackSize += s2.StackSize; world.Erase(s2); }
public void Combine(IItemStack s2, IWorld world) { if (!CanCombine(s2)) { throw new ArgumentException("Unable to combine objects because they were were not compatible"); } StackSize += s2.StackSize; world.Erase(s2); }