aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/utils/XPUtils.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/utils/XPUtils.java')
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/utils/XPUtils.java24
1 files changed, 21 insertions, 3 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/utils/XPUtils.java b/src/main/java/kr/syeyoung/dungeonsguide/utils/XPUtils.java
index d06e0ccc..2738dcec 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/utils/XPUtils.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/utils/XPUtils.java
@@ -1,3 +1,21 @@
+/*
+ * Dungeons Guide - The most intelligent Hypixel Skyblock Dungeons Mod
+ * Copyright (C) 2021 cyoung06
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
package kr.syeyoung.dungeonsguide.utils;
import kr.syeyoung.dungeonsguide.features.impl.party.api.Skill;
@@ -14,9 +32,9 @@ public class XPUtils {
private double nextLvXp;
}
- private static TreeMap<Double, Integer> catacombXp = new TreeMap<>();
- private static TreeMap<Double, Integer> skillXp = new TreeMap<>();
- private static TreeMap<Double, Integer> skillXp2 = new TreeMap<>();
+ private static final TreeMap<Double, Integer> catacombXp = new TreeMap<>();
+ private static final TreeMap<Double, Integer> skillXp = new TreeMap<>();
+ private static final TreeMap<Double, Integer> skillXp2 = new TreeMap<>();
static {
catacombXp.put(50.0, 1);
catacombXp.put(125.0, 2);