Program: 174568
Project: 174568
Buggy source:
/** 
 * Methods related to entity loading.                    
 */
public void writeEntityToNBT(NBTTagCompound compound){
  super.writeEntityToNBT(compound);
  compound.setInteger("String_Node_Str",this.getGemPlacement().id);
  compound.setInteger("String_Node_Str",this.getGemCut().id);
  compound.setBoolean("String_Node_Str",this.hasVisor());
  compound.setInteger("String_Node_Str",this.getInsigniaColor());
  compound.setInteger("String_Node_Str",this.getHairStyle());
  compound.setBoolean("String_Node_Str",this.isDefective());
  compound.setBoolean("String_Node_Str",this.isPrimary());
  compound.setInteger("String_Node_Str",this.getSpecial());
  NBTTagList fusionMembers=new NBTTagList();
  for (int i=0; i < this.fusionMembers.size(); ++i) {
    fusionMembers.appendTag(this.fusionMembers.get(i));
  }
  compound.setInteger("String_Node_Str",this.getFusionCount());
  compound.setString("String_Node_Str",this.getFusionPlacements());
  compound.setTag("String_Node_Str",fusionMembers);
  if (this.getOwnerId() == null) {
    compound.setString("String_Node_Str","String_Node_Str");
  }
 else {
    compound.setString("String_Node_Str",this.getOwnerId().toString());
  }
  if (this.getLeader() == null) {
    compound.setString("String_Node_Str","String_Node_Str");
  }
 else {
    compound.setString("String_Node_Str",this.leader.toString());
  }
  NBTTagList owners=new NBTTagList();
  for (int i=0; i < this.jointOwners.size(); ++i) {
    UUID ownerId=this.jointOwners.get(i);
    NBTTagCompound nbt=new NBTTagCompound();
    nbt.setString("String_Node_Str",ownerId.toString());
    owners.appendTag(nbt);
  }
  compound.setTag("String_Node_Str",owners);
  if (this.restPosition != null) {
    compound.setDouble("String_Node_Str",this.restPosition.getX());
    compound.setDouble("String_Node_Str",this.restPosition.getY());
    compound.setDouble("String_Node_Str",this.restPosition.getZ());
  }
  compound.setBoolean("String_Node_Str",this.isSitting());
  compound.setInteger("String_Node_Str",this.servitude);
  compound.setInteger("String_Node_Str",this.fallbackServitude);
  compound.setInteger("String_Node_Str",this.timeUntilBetrayal);
  compound.setInteger("String_Node_Str",this.dimensionOfCreation);
  compound.setBoolean("String_Node_Str",this.wantsToFuse);
  compound.setFloat("String_Node_Str",this.pitch);
}

Fixed version (ground truth):
/** 
 * Methods related to entity loading.					
 */
public void writeEntityToNBT(NBTTagCompound compound){
  super.writeEntityToNBT(compound);
  compound.setInteger("String_Node_Str",this.getGemPlacement().id);
  compound.setInteger("String_Node_Str",this.getGemCut().id);
  compound.setBoolean("String_Node_Str",this.hasVisor());
  compound.setInteger("String_Node_Str",this.getInsigniaColor());
  compound.setInteger("String_Node_Str",this.getHairStyle());
  compound.setBoolean("String_Node_Str",this.isDefective());
  compound.setBoolean("String_Node_Str",this.isPrimary());
  compound.setInteger("String_Node_Str",this.getSpecial());
  NBTTagList fusionMembers=new NBTTagList();
  for (int i=0; i < this.fusionMembers.size(); ++i) {
    fusionMembers.appendTag(this.fusionMembers.get(i));
  }
  compound.setInteger("String_Node_Str",this.getFusionCount());
  compound.setString("String_Node_Str",this.getFusionPlacements());
  compound.setTag("String_Node_Str",fusionMembers);
  if (this.getOwnerId() == null) {
    compound.setString("String_Node_Str","String_Node_Str");
  }
 else {
    compound.setString("String_Node_Str",this.getOwnerId().toString());
  }
  if (this.getLeader() == null) {
    compound.setString("String_Node_Str","String_Node_Str");
  }
 else {
    compound.setString("String_Node_Str",this.leader.toString());
  }
  NBTTagList owners=new NBTTagList();
  for (int i=0; i < this.jointOwners.size(); ++i) {
    UUID ownerId=this.jointOwners.get(i);
    NBTTagCompound nbt=new NBTTagCompound();
    nbt.setString("String_Node_Str",ownerId.toString());
    owners.appendTag(nbt);
  }
  compound.setTag("String_Node_Str",owners);
  if (this.restPosition != null) {
    compound.setDouble("String_Node_Str",this.restPosition.getX());
    compound.setDouble("String_Node_Str",this.restPosition.getY());
    compound.setDouble("String_Node_Str",this.restPosition.getZ());
  }
  compound.setBoolean("String_Node_Str",this.isSitting());
  compound.setInteger("String_Node_Str",this.servitude);
  compound.setInteger("String_Node_Str",this.fallbackServitude);
  compound.setInteger("String_Node_Str",this.timeUntilBetrayal);
  compound.setInteger("String_Node_Str",this.dimensionOfCreation);
  compound.setBoolean("String_Node_Str",this.wantsToFuse);
  compound.setFloat("String_Node_Str",this.pitch);
}