fixing an invalid operation error with openGL

modified:   src/entity/npc/LivingEntityManager.java