Removing optimization and moving logic to player when eating pellet