mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 13:16:45 +01:00
Let's hope this fixes those NPEs...
This commit is contained in:
parent
477d698eac
commit
b46997bc1a
@ -5,11 +5,13 @@ import com.gmail.nossr50.datatypes.HUDType;
|
||||
|
||||
public class Config extends ConfigLoader {
|
||||
public int xpGainMultiplier = 1;
|
||||
public static Config instance = null;
|
||||
private static volatile Config instance;
|
||||
|
||||
public static Config getInstance() {
|
||||
if(instance == null)
|
||||
if (instance == null) {
|
||||
instance = new Config(mcMMO.p);
|
||||
}
|
||||
|
||||
return instance;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user