Skip to content

Commit

Permalink
SNAPSHOT-4
Browse files Browse the repository at this point in the history
  • Loading branch information
NeumimTo committed Feb 23, 2019
1 parent a4b35ab commit 178163a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
}

group = 'cz.neumimto.rpg'
version = '2.0.0-SNAPSHOT-3'
version = '2.0.0-SNAPSHOT-4'

blossom {
String str = "src/main/java/cz/neumimto/rpg/NtRpgPlugin.java"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@ public Map<IGlobalEffect, EffectParams> deserialize(TypeToken<?> type, Configura
for (EffectConfigModel model : list) {
if (model.type == null) {
Log.warn("Cannot read effects section - Missing node Id");
continue;
}
IGlobalEffect globalEffect = NtRpgPlugin.GlobalScope.effectService.getGlobalEffect(model.type.toLowerCase());
IGlobalEffect globalEffect = NtRpgPlugin.GlobalScope.effectService.getGlobalEffect(model.type);
if (globalEffect == null) {
Log.error("Unknown Effect " + model.type.toLowerCase());
Log.error("Unknown Effect " + model.type);
continue;
}
if (model.settings == null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,6 @@ public void purgeEffectCache() {
effectSet.clear();
pendingAdditions.clear();
pendingRemovals.clear();
globalEffects.clear();
}
}

Expand Down

0 comments on commit 178163a

Please sign in to comment.