Merge pull request #835 from Desetude/fix/xpdrop
Renamed 'Experience drop' -> 'XP Drop'
This commit is contained in:
@@ -31,15 +31,15 @@ import net.runelite.client.config.ConfigItem;
|
||||
|
||||
@ConfigGroup(
|
||||
keyName = "xpdrop",
|
||||
name = "Experience Drop",
|
||||
description = "Configuration for experience drops customization"
|
||||
name = "XP Drop",
|
||||
description = "Configuration for XP drop customization"
|
||||
)
|
||||
public interface ExperienceDropConfig extends Config
|
||||
public interface XpDropConfig extends Config
|
||||
{
|
||||
@ConfigItem(
|
||||
keyName = "meleePrayerColor",
|
||||
name = "Melee Prayer Color",
|
||||
description = "Xp Drop color when a melee prayer is active"
|
||||
description = "XP drop color when a melee prayer is active"
|
||||
)
|
||||
default Color getMeleePrayerColor()
|
||||
{
|
||||
@@ -49,7 +49,7 @@ public interface ExperienceDropConfig extends Config
|
||||
@ConfigItem(
|
||||
keyName = "rangePrayerColor",
|
||||
name = "Range Prayer Color",
|
||||
description = "Xp Drop color when a range prayer is active"
|
||||
description = "XP drop color when a range prayer is active"
|
||||
)
|
||||
default Color getRangePrayerColor()
|
||||
{
|
||||
@@ -59,7 +59,7 @@ public interface ExperienceDropConfig extends Config
|
||||
@ConfigItem(
|
||||
keyName = "magePrayerColor",
|
||||
name = "Mage Prayer Color",
|
||||
description = "Xp Drop color when a mage prayer is active"
|
||||
description = "XP drop color when a mage prayer is active"
|
||||
)
|
||||
default Color getMagePrayerColor()
|
||||
{
|
||||
@@ -38,20 +38,20 @@ import net.runelite.client.plugins.Plugin;
|
||||
import net.runelite.client.plugins.PluginDescriptor;
|
||||
|
||||
@PluginDescriptor(
|
||||
name = "Experience drop"
|
||||
name = "XP Drop"
|
||||
)
|
||||
public class ExperienceDropPlugin extends Plugin
|
||||
public class XpDropPlugin extends Plugin
|
||||
{
|
||||
@Inject
|
||||
private Client client;
|
||||
|
||||
@Inject
|
||||
private ExperienceDropConfig config;
|
||||
private XpDropConfig config;
|
||||
|
||||
@Provides
|
||||
ExperienceDropConfig provideConfig(ConfigManager configManager)
|
||||
XpDropConfig provideConfig(ConfigManager configManager)
|
||||
{
|
||||
return configManager.getConfig(ExperienceDropConfig.class);
|
||||
return configManager.getConfig(XpDropConfig.class);
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
Reference in New Issue
Block a user