diff --git a/README.md b/README.md index b08b542..4ad24d7 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,9 @@ It preserves trades, homes, job location and updates reputation. ## Changelog +### 1.2.2 +- Updated to 1.17.1 + ### 1.2.1 - Updated to 1.17 diff --git a/VillagerSaver.iml b/VillagerSaver.iml index 71586a3..3c6d0ae 100644 --- a/VillagerSaver.iml +++ b/VillagerSaver.iml @@ -10,11 +10,11 @@ - + - + diff --git a/src/cl/mariofinale/VillagerSaver_Commands.java b/src/cl/mariofinale/VillagerSaver_Commands.java index ee21103..db43f70 100644 --- a/src/cl/mariofinale/VillagerSaver_Commands.java +++ b/src/cl/mariofinale/VillagerSaver_Commands.java @@ -5,7 +5,6 @@ import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; - import java.util.ArrayList; public class VillagerSaver_Commands implements CommandExecutor { diff --git a/src/cl/mariofinale/VillagerSaver_Listener.java b/src/cl/mariofinale/VillagerSaver_Listener.java index 5acbb87..002515b 100644 --- a/src/cl/mariofinale/VillagerSaver_Listener.java +++ b/src/cl/mariofinale/VillagerSaver_Listener.java @@ -37,7 +37,7 @@ public void handleSpawnZombieVillager(LivingEntity livingEnt) { EntityVillager entityvillager = craftVillager.getHandle(); VillagerData villagerData = entityvillager.getVillagerData(); - Reputation reputation = entityvillager.fS(); + Reputation reputation = entityvillager.fT(); int experience = entityvillager.getExperience(); MerchantRecipeList offers = entityvillager.getOffers(); diff --git a/src/cl/mariofinale/VillagerSaver_PluginVars.java b/src/cl/mariofinale/VillagerSaver_PluginVars.java index be5221f..984e39c 100644 --- a/src/cl/mariofinale/VillagerSaver_PluginVars.java +++ b/src/cl/mariofinale/VillagerSaver_PluginVars.java @@ -1,7 +1,6 @@ package cl.mariofinale; import org.bukkit.ChatColor; import org.bukkit.entity.EntityType; - import java.util.ArrayList; public class VillagerSaver_PluginVars { diff --git a/src/cl/mariofinale/villagerSaver.java b/src/cl/mariofinale/villagerSaver.java index 993fdcd..250bf81 100644 --- a/src/cl/mariofinale/villagerSaver.java +++ b/src/cl/mariofinale/villagerSaver.java @@ -7,7 +7,6 @@ import java.util.*; public class villagerSaver extends JavaPlugin{ - public static ArrayList WorldBlackList = new ArrayList<>(); public static Plugin plugin; diff --git a/src/plugin.yml b/src/plugin.yml index e016730..c1054fb 100644 --- a/src/plugin.yml +++ b/src/plugin.yml @@ -1,8 +1,8 @@ name: VillagerSaver -version: 1.2.1 +version: 1.2.2 authors: [MarioFinale, Kasama] main: cl.mariofinale.villagerSaver -api-version: 1.16 +api-version: 1.17 website: https://github.com/MarioFinale/VillagerSaver commands: villagersaver: