Updated to take into account the new vanilla check for allowing items into a slot or not. (Also using the vanilla ISided now)