Created a helper method for CraftInventoryCustom.java that is code that
was similar between two different methods, splitStack and
splitWithoutUpdate.