mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-17 04:05:12 +00:00
Proper Reformating
This commit is contained in:
1 parent
ce75880aba
commit
180d257024
1179 files changed
+59847
-61583
No files matched your search
@@ -41,7 +41,7 @@ public class CustomEffectController implements ICustomEffectHandler {
|
||||
private int lastUsedID = 0;
|
||||
public ConcurrentHashMap<UUID, ConcurrentHashMap<EffectKey, PlayerEffect>> playerEffects = new ConcurrentHashMap<>();
|
||||
|
||||
public CustomEffectController(){
|
||||
public CustomEffectController() {
|
||||
HashMap<Integer, CustomEffect> customEffects = new HashMap<>();
|
||||
registerEffectMap(0, customEffects);
|
||||
}
|
||||
@@ -54,7 +54,7 @@ public class CustomEffectController implements ICustomEffectHandler {
|
||||
indexMapper.put(index, (HashMap<Integer, CustomEffect>) effectHashMap);
|
||||
}
|
||||
|
||||
public HashMap<Integer, CustomEffect> getCustomEffects(){
|
||||
public HashMap<Integer, CustomEffect> getCustomEffects() {
|
||||
return indexMapper.get(0);
|
||||
}
|
||||
|
||||
@@ -349,8 +349,8 @@ public class CustomEffectController implements ICustomEffectHandler {
|
||||
saveEffectLoadMap();
|
||||
}
|
||||
|
||||
public HashMap<Integer, CustomEffect> getEffectMap(int index){
|
||||
if(indexMapper.containsKey(index)){
|
||||
public HashMap<Integer, CustomEffect> getEffectMap(int index) {
|
||||
if (indexMapper.containsKey(index)) {
|
||||
return getEffectMap(index);
|
||||
}
|
||||
return null;
|
||||
@@ -413,7 +413,8 @@ public class CustomEffectController implements ICustomEffectHandler {
|
||||
if (file.exists()) {
|
||||
loadCustomEffectMap(file);
|
||||
}
|
||||
} catch (Exception ignored) {}
|
||||
} catch (Exception ignored) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user