Fixed segfault when shield was equiped.