changelog
This commit is contained in:
parent
23a4675135
commit
384e511cf4
@ -9,6 +9,9 @@ Flan 1.5.0
|
|||||||
- Add NOHUNGER permission: Disables hunger in claims
|
- Add NOHUNGER permission: Disables hunger in claims
|
||||||
Default global value is ALLFALSE so disabled.
|
Default global value is ALLFALSE so disabled.
|
||||||
- Fix resizing claims of other players not using their claim blocks
|
- Fix resizing claims of other players not using their claim blocks
|
||||||
|
- Add ability to add potion effects to claims.
|
||||||
|
That claim will then apply that effect to any player inside the claim
|
||||||
|
Specify potions with <id;amplifier>
|
||||||
|
|
||||||
Flan 1.4.2
|
Flan 1.4.2
|
||||||
======================
|
======================
|
||||||
|
@ -80,7 +80,7 @@ public class PotionEditScreenHandler extends ServerOnlyScreenHandler {
|
|||||||
ItemStack group = new ItemStack(Items.POTION);
|
ItemStack group = new ItemStack(Items.POTION);
|
||||||
TranslatableText txt = new TranslatableText(effect.getTranslationKey());
|
TranslatableText txt = new TranslatableText(effect.getTranslationKey());
|
||||||
group.getOrCreateTag().putString("FlanEffect", CrossPlatformStuff.stringFromEffect(effect));
|
group.getOrCreateTag().putString("FlanEffect", CrossPlatformStuff.stringFromEffect(effect));
|
||||||
group.setCustomName(txt.setStyle(txt.getStyle().withFormatting(Formatting.DARK_BLUE)).append(ServerScreenHelper.coloredGuiText("-" + potions.get(effect), Formatting.DARK_BLUE)));
|
group.setCustomName(txt.setStyle(txt.getStyle().withItalic(false).withFormatting(Formatting.DARK_BLUE)).append(ServerScreenHelper.coloredGuiText("-" + potions.get(effect), Formatting.DARK_BLUE)));
|
||||||
inv.setStack(i, group);
|
inv.setStack(i, group);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user