Potion Effects have different durations now

This commit is contained in:
Sn0wStorm
2019-07-04 16:28:44 +02:00
parent b713463ba3
commit ad58d7b609
6 changed files with 33 additions and 13 deletions
+3 -1
View File
@@ -90,7 +90,9 @@ public class BEffect {
}
duration *= 20;
duration /= type.getDurationModifier();
if (!P.use1_14) {
duration /= type.getDurationModifier();
}
type.createEffect(duration, lvl - 1).apply(player);
}