9
0
mirror of https://github.com/Xiao-MoMi/Custom-Fishing.git synced 2025-12-29 11:59:11 +00:00

初步完成1.1版本内容

This commit is contained in:
Xiao-MoMi
2022-10-17 18:28:38 +08:00
parent 1c74e63d7f
commit eb350a49a8
34 changed files with 1567 additions and 222 deletions

View File

@@ -4,7 +4,6 @@ import de.tr7zw.changeme.nbtapi.NBTCompound;
import de.tr7zw.changeme.nbtapi.NBTItem;
import net.kyori.adventure.text.minimessage.MiniMessage;
import net.kyori.adventure.text.serializer.gson.GsonComponentSerializer;
import net.kyori.adventure.text.serializer.legacy.LegacyComponentSerializer;
import net.momirealms.customfishing.CustomFishing;
import net.momirealms.customfishing.manager.BonusManager;
import net.momirealms.customfishing.manager.LootManager;
@@ -192,7 +191,8 @@ public class ItemStackUtil {
try {
yamlConfiguration.save(file);
LootManager.load();
CustomFishing.plugin.getLootManager().unload();
CustomFishing.plugin.getLootManager().load();
} catch (IOException e) {
e.printStackTrace();
}