-
Contributor
Why HoveredItemInfoPlugin.ItemPerfectionFont is not used?
FYI coders
I noticed that HoveredItemInfoPlugin has "unused" variable ItemPerfectionFont that is assigned but never referred after that.
Maybe somebody planned to add IItem.Perfection info along with IItem.SnoItem.Level info?
Actually IMHO item level info is not useful at all so the whole plugin is useful only to show really annoying Canai's Cube animation.
As I don't like that animation I have to disable the plugin to prevent animation showing.
But InventoryAndStashPlugin has a flag for that, can't you have flag in HoveredItemInfoPlugin for the same purpose to keep code harmonized?
Code:
// Disable Canai's Cubeable Animations!
Hud.TogglePlugin<HoveredItemInfoPlugin>(false);
Hud.GetPlugin<InventoryAndStashPlugin>().CanCubedEnabled = false;
Just some random rants again from me
-
added (from next release): public bool CanCubedEnabled { get; set; }
to HoveredItemInfoPlugin.cs
also removed ItemPerfectionFont
Do not send me private messages unless it is absolutely necessary or the content is sensitive or when I ask you to do that...
-
Post Thanks / Like - 2 Thanks