Fixed possible NPE with trophy system
@@ -103,7 +103,7 @@ public class TrophySystemTileEntity extends OwnableTileEntity {
if(entity instanceof ArrowEntity && ((ArrowEntity) entity).shootingEntity != null)
return ((ArrowEntity) entity).shootingEntity;
- else if(entity instanceof FireballEntity && ((FireballEntity)entity).shootingEntity != null)
+ else if(entity instanceof FireballEntity && ((FireballEntity) entity).shootingEntity != null && ((FireballEntity) entity).shootingEntity.getUniqueID() != null)
return ((FireballEntity) entity).shootingEntity.getUniqueID();
else
