bugfix for checkEnvironmentDamage() segfaulting
bugfix for checkEnvironmentDamage() segfaulting

chtisgit/mine152,chtisgit/mine152,fador/mineserver,fador/mineserver,chtisgit/mine152,fador/mineserver,fador/mineserver,chtisgit/mine152