- add nullcheck when getting enderchest slot count from player, closes #1734