Fixed an issue with Sun Spirit dialogue.

This commit is contained in:
bconlon 2020-08-16 16:12:57 -07:00
parent 1ccc541baa
commit b82974b256

View file

@ -387,7 +387,7 @@ public class EntitySunSpirit extends EntityFlying implements IMob, IAetherBoss {
public boolean chatWithMe(EntityPlayer entityPlayer) {
if (this.chatCount <= 0) {
if (!AetherConfig.repeatSunSpiritDialogue() && !((PlayerAether) AetherAPI.get(entityPlayer)).seenSpiritDialog)
if (AetherConfig.repeatSunSpiritDialogue() || !((PlayerAether) AetherAPI.get(entityPlayer)).seenSpiritDialog)
{
if (this.getChatLine() == 0) {
this.chatLine(entityPlayer, "\u00a7cYou are certainly a brave soul to have entered this chamber.");
@ -432,7 +432,7 @@ public class EntitySunSpirit extends EntityFlying implements IMob, IAetherBoss {
}
}
}
else if (!AetherConfig.repeatSunSpiritDialogue() && ((PlayerAether) AetherAPI.get(entityPlayer)).seenSpiritDialog)
else if (((PlayerAether) AetherAPI.get(entityPlayer)).seenSpiritDialog)
{
this.setChatLine(9);