File throwing a couple of errors on player death