Fix errant MRS tags displaying on fresh MRSs (#1265)
I literally totally hate everybody who downvoted my comment in that issue and will show them my wrath.
This commit is contained in:
parent
dc7af258ff
commit
e64e481a11
|
@ -32,14 +32,15 @@ public class DataProviderRitualController implements IWailaDataProvider {
|
||||||
|
|
||||||
NBTTagCompound tag = accessor.getNBTData();
|
NBTTagCompound tag = accessor.getNBTData();
|
||||||
if (tag.getBoolean("master")) {
|
if (tag.getBoolean("master")) {
|
||||||
if (tag.hasKey("ritual"))
|
if (tag.hasKey("ritual")) {
|
||||||
currenttip.add(TextHelper.localizeEffect(tag.getString("ritual")));
|
currenttip.add(TextHelper.localizeEffect(tag.getString("ritual")));
|
||||||
if (tag.hasKey("owner"))
|
if (tag.hasKey("owner"))
|
||||||
currenttip.add(TextHelper.localizeEffect("tooltip.bloodmagic.currentOwner", tag.getString("owner")));
|
currenttip.add(TextHelper.localizeEffect("tooltip.bloodmagic.currentOwner", tag.getString("owner")));
|
||||||
if (!tag.getBoolean("active"))
|
if (!tag.getBoolean("active"))
|
||||||
currenttip.add(TextHelper.localizeEffect("tooltip.bloodmagic.deactivated"));
|
currenttip.add(TextHelper.localizeEffect("tooltip.bloodmagic.deactivated"));
|
||||||
if (!tag.getBoolean("enabled"))
|
if (!tag.getBoolean("enabled"))
|
||||||
currenttip.add(TextHelper.localizeEffect("tooltip.bloodmagic.config.disabled"));
|
currenttip.add(TextHelper.localizeEffect("tooltip.bloodmagic.config.disabled"));
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
if (tag.hasKey("ritual")) {
|
if (tag.hasKey("ritual")) {
|
||||||
currenttip.add(TextHelper.localizeEffect(tag.getString("ritual")));
|
currenttip.add(TextHelper.localizeEffect(tag.getString("ritual")));
|
||||||
|
|
Loading…
Reference in a new issue