Skip to content

Commit

Permalink
Noppe's Custom NPCs shouldn't drop yellow hearts anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
bonii-xx committed Oct 12, 2014
1 parent 79cefdd commit 1feac32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/tconstruct/armor/TinkerArmorEvents.java
Expand Up @@ -40,7 +40,7 @@ public void onLivingDrop (LivingDropsEvent event)
return;
}
String entityName = event.entityLiving.getClass().getSimpleName().toLowerCase();
if (entityName.contains("entitynpc"))
if (entityName.contains("entitynpc") || entityName.contains("entitycustomnpc"))
return;

int count = event.entityLiving instanceof EntityDragon ? 5 : 1;
Expand Down

5 comments on commit 1feac32

@TherminatorX
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A one word answer wasn't the best for telling me what to fix.

@bonii-xx
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because "Maybe add it as an additional line, better safe than sorry. :P" is hard to understand?

@TherminatorX
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you had said that, it would have been done. Simply "Compatability" made it sound like you were saying that it would hurt how TiC works with NPCs. I'll note that next time I try to help.

@bonii-xx
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did say exactly that.
Test if edits are actually displayed?

@TherminatorX
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did not see that before, oops. 😕 (78% sure that was edited in 3h ago, but whatever)

Please sign in to comment.