Skip to content

Commit

Permalink
1.18.2
Browse files Browse the repository at this point in the history
Updated to 1.18.2
  • Loading branch information
MarioFinale committed Mar 10, 2022
1 parent 7ff5e13 commit c4e2bbe
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 25 deletions.
24 changes: 3 additions & 21 deletions VillagerSaver.iml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<orderEntry type="module-library">
<library>
<CLASSES>
<root url="jar://F:/lib/bukkit-1.18-R0.1-SNAPSHOT.jar!/" />
<root url="jar://F:/lib/spigot-api-1.18.2-R0.1-SNAPSHOT.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
Expand All @@ -19,7 +19,7 @@
<orderEntry type="module-library">
<library>
<CLASSES>
<root url="jar://F:/lib/craftbukkit-1.18-R0.1-SNAPSHOT-remapped.jar!/" />
<root url="jar://F:/lib/craftbukkit-1.18.2-R0.1-SNAPSHOT-remapped.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
Expand All @@ -28,25 +28,7 @@
<orderEntry type="module-library">
<library>
<CLASSES>
<root url="jar://F:/lib/mojang_1.18.1.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="module-library">
<library>
<CLASSES>
<root url="jar://F:/lib/paper-1.18.1.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="module-library">
<library>
<CLASSES>
<root url="jar://F:/lib/spigot-api-1.18-R0.1-SNAPSHOT.jar!/" />
<root url="jar://F:/lib/datafixerupper-4.1.27.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
Expand Down
2 changes: 1 addition & 1 deletion out/production/VillagerSaver/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: VillagerSaver
version: 1.2.4
version: 1.2.5
authors: [MarioFinale, Kasama]
main: cl.mariofinale.VillagerSaver
api-version: 1.18
Expand Down
2 changes: 2 additions & 0 deletions src/cl/mariofinale/VillagerSaver_Commands.java
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
package cl.mariofinale;
import org.bukkit.Bukkit;
import org.bukkit.OfflinePlayer;
import org.bukkit.World;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import java.util.ArrayList;
import java.util.Collection;

/** @noinspection unused*/
public class VillagerSaver_Commands implements CommandExecutor {
Expand Down
4 changes: 2 additions & 2 deletions src/cl/mariofinale/VillagerSaver_Listener.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import net.minecraft.world.entity.monster.EntityZombieVillager;
import net.minecraft.world.entity.npc.*;
import org.bukkit.attribute.Attribute;
import org.bukkit.craftbukkit.v1_18_R1.entity.*;
import org.bukkit.craftbukkit.v1_18_R2.entity.*;
import org.bukkit.entity.*;
import org.bukkit.event.entity.*;
import org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason;
Expand Down Expand Up @@ -34,7 +34,7 @@ private void handleSpawnZombieVillager(LivingEntity livingEnt) {
CraftVillager craftVillager = (CraftVillager) livingEnt;
Entity vehicle = craftVillager.getVehicle();
EntityVillager entityvillager = craftVillager.getHandle();
VillagerData villagerData = entityvillager.fJ();
VillagerData villagerData = entityvillager.fK();
int experience = entityvillager.t();;
EntityVillagerAbstract villagerAbstract = entityvillager;
NBTTagCompound nbtTagCompound = new NBTTagCompound();
Expand Down
2 changes: 1 addition & 1 deletion src/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: VillagerSaver
version: 1.2.4
version: 1.2.5
authors: [MarioFinale, Kasama]
main: cl.mariofinale.VillagerSaver
api-version: 1.18
Expand Down

0 comments on commit c4e2bbe

Please sign in to comment.