mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-17 18:05:10 +00:00
Proper Reformating
This commit is contained in:
1 parent
ce75880aba
commit
180d257024
1179 files changed
+59847
-61583
No files matched your search
@@ -35,7 +35,8 @@ public class CustomEffect implements ICustomEffect {
|
||||
|
||||
public int index = 0;
|
||||
|
||||
public CustomEffect() {}
|
||||
public CustomEffect() {
|
||||
}
|
||||
|
||||
public CustomEffect(int id) {
|
||||
this.id = id;
|
||||
@@ -298,6 +299,7 @@ public class CustomEffect implements ICustomEffect {
|
||||
public EffectScript getScriptHandler() {
|
||||
return CustomEffectController.getInstance().customEffectScriptHandlers.get(this.id);
|
||||
}
|
||||
|
||||
public void setScriptHandler(EffectScript handler) {
|
||||
CustomEffectController.getInstance().customEffectScriptHandlers.put(this.id, handler);
|
||||
}
|
||||
@@ -305,7 +307,7 @@ public class CustomEffect implements ICustomEffect {
|
||||
public EffectScript getOrCreateScriptHandler() {
|
||||
EffectScript data = getScriptHandler();
|
||||
if (data == null)
|
||||
setScriptHandler(data =new EffectScript());
|
||||
setScriptHandler(data = new EffectScript());
|
||||
return data;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user