Meaning not done yet... This wont take effect until next betaWe are redoing
Meaning not done yet... This wont take effect until next betaWe are redoing
Oh gr8 -.-Meaning not done yet... This wont take effect until next beta
Is this the only thing that changed? or do i need to change dis too?Let me put this to rest, We are redoing various parts of PK such as the ConfigManager. Sadly this will stop addons from being able to add options to the plugins config.yml. However, it's an easy fix for addon makers! You simply need to change ProjectKorra.getConfig() to ConfigManager.defaultConfig.getConfig(); and ProjectKorra.saveConfig() to ConfigManager.defaultConfig.saveConfig();
Here is an example of my fixed Combustion Addon!
Sorry about this guys we are really trying to fix up the systems PK runs on and sometimes things like this happen...
@jedk1 @Simplicitee @Finn_Bueno_ @dookoo782 @grasshopperMatt @Soarinsorin @AlexTheCoder @moo3oo3oo3 @SenpaiBlaze
private double RANGE = ProjectKorra.plugin.getConfig().getDouble("ExtraAbilities.Soringaming.WaterWhip.Range");
private double DAMAGE = ProjectKorra.plugin.getConfig().getDouble("ExtraAbilities.Soringaming.WaterWhip.Damage");
Well yeah, ProjectKorra.plugin no longer exists, ts been replaced with ConfigManager.defaultConfig.Is this the only thing that changed? or do i need to change dis too?
Code:private double RANGE = ProjectKorra.plugin.getConfig().getDouble("ExtraAbilities.Soringaming.WaterWhip.Range"); private double DAMAGE = ProjectKorra.plugin.getConfig().getDouble("ExtraAbilities.Soringaming.WaterWhip.Damage");
Ok thank youWell yeah, ProjectKorra.plugin no longer exists, ts been replaced with ConfigManager.defaultConfig.
What would i change this too?Let me put this to rest, We are redoing various parts of PK such as the ConfigManager. Sadly this will stop addons from being able to add options to the plugins config.yml. However, it's an easy fix for addon makers! You simply need to change ProjectKorra.getConfig() to ConfigManager.defaultConfig.getConfig(); and ProjectKorra.saveConfig() to ConfigManager.defaultConfig.saveConfig();
Here is an example of my fixed Combustion Addon!
Sorry about this guys we are really trying to fix up the systems PK runs on and sometimes things like this happen...
@jedk1 @Simplicitee @Finn_Bueno_ @dookoo782 @grasshopperMatt @Soarinsorin @AlexTheCoder @moo3oo3oo3 @SenpaiBlaze
private long COOLDOWN = ProjectKorra.plugin.getConfig().getLong("ExtraAbilities.Soringaming.WaterWhip.Cooldown");
private long COOLDOWN = ConfigManager.defaultConfig.getConfig().getLong("ExtraAbilities.Soringaming.WaterWhip.Cooldown");
MhmWhat would i change this too?
EDIT: Just realized that ConfigManager is what is needed....Code:private long COOLDOWN = ProjectKorra.plugin.getConfig().getLong("ExtraAbilities.Soringaming.WaterWhip.Cooldown");
So it'd be something like dis right?
Code:private long COOLDOWN = ConfigManager.defaultConfig.getConfig().getLong("ExtraAbilities.Soringaming.WaterWhip.Cooldown");