Skip to content

Commit

Permalink
Update to 1.20.3(4)
Browse files Browse the repository at this point in the history
  • Loading branch information
Foxikle committed Dec 10, 2023
1 parent f838f31 commit d2da4b3
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ repositories {
}

dependencies {
paperweight.paperDevBundle("1.20.2-R0.1-SNAPSHOT")
paperweight.paperDevBundle("1.20.3-R0.1-SNAPSHOT")
implementation("org.bstats:bstats-bukkit:3.0.2")
compileOnly("me.clip:placeholderapi:2.11.5")
}

group = "dev.foxikle"
version = "1.5.2-pre3"
version = "1.6-pre1"
description = "CustomNPCs"
java.sourceCompatibility = JavaVersion.VERSION_16

Expand Down
6 changes: 3 additions & 3 deletions src/main/java/dev/foxikle/customnpcs/api/NPC.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.World;
import org.bukkit.craftbukkit.v1_20_R2.CraftServer;
import org.bukkit.craftbukkit.v1_20_R2.CraftWorld;
import org.bukkit.craftbukkit.v1_20_R2.entity.CraftEntity;
import org.bukkit.craftbukkit.v1_20_R3.CraftServer;
import org.bukkit.craftbukkit.v1_20_R3.CraftWorld;
import org.bukkit.craftbukkit.v1_20_R3.entity.CraftEntity;
import org.bukkit.entity.Entity;
import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/dev/foxikle/customnpcs/api/NPCApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
import net.minecraft.world.InteractionHand;
import net.minecraft.world.phys.Vec3;
import org.bukkit.*;
import org.bukkit.craftbukkit.v1_20_R2.CraftServer;
import org.bukkit.craftbukkit.v1_20_R2.CraftWorld;
import org.bukkit.craftbukkit.v1_20_R2.entity.CraftEntity;
import org.bukkit.craftbukkit.v1_20_R3.CraftServer;
import org.bukkit.craftbukkit.v1_20_R3.CraftWorld;
import org.bukkit.craftbukkit.v1_20_R3.entity.CraftEntity;
import org.bukkit.entity.Entity;
import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/dev/foxikle/customnpcs/internal/CustomNPCs.java
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ public final class CustomNPCs extends JavaPlugin implements PluginMessageListene
public void onEnable() {
instance = this;
if (!setup()) {
Bukkit.getLogger().severe("Incompatible server version! Please use 1.20.2! Shutting down plugin.");
Bukkit.getLogger().severe("Incompatible server version! Please use 1.20.3 - 1.20.4! Shutting down plugin.");
Bukkit.getPluginManager().disablePlugin(this);
}

Expand Down Expand Up @@ -225,7 +225,7 @@ public void onEnable() {
*/

public boolean setup() {
return (Bukkit.getServer().getMinecraftVersion().equals("1.20.2"));
return (Bukkit.getServer().getMinecraftVersion().equals("1.20.3") || Bukkit.getServer().getMinecraftVersion().equals("1.20.4"));
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
import org.bukkit.Bukkit;
import org.bukkit.configuration.ConfigurationSection;
import org.bukkit.configuration.file.YamlConfiguration;
import org.bukkit.craftbukkit.v1_20_R2.CraftServer;
import org.bukkit.craftbukkit.v1_20_R2.CraftWorld;
import org.bukkit.craftbukkit.v1_20_R3.CraftServer;
import org.bukkit.craftbukkit.v1_20_R3.CraftWorld;

import java.io.File;
import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
import net.minecraft.server.network.ServerGamePacketListenerImpl;
import net.minecraft.world.phys.Vec3;
import org.bukkit.*;
import org.bukkit.craftbukkit.v1_20_R2.entity.CraftPlayer;
import org.bukkit.craftbukkit.v1_20_R2.inventory.CraftItemStack;
import org.bukkit.craftbukkit.v1_20_R3.entity.CraftPlayer;
import org.bukkit.craftbukkit.v1_20_R3.inventory.CraftItemStack;
import org.bukkit.entity.Display;
import org.bukkit.entity.EntityType;
import org.bukkit.entity.Player;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
import org.bukkit.Material;
import org.bukkit.Sound;
import org.bukkit.command.*;
import org.bukkit.craftbukkit.v1_20_R2.CraftServer;
import org.bukkit.craftbukkit.v1_20_R2.CraftWorld;
import org.bukkit.craftbukkit.v1_20_R3.CraftServer;
import org.bukkit.craftbukkit.v1_20_R3.CraftWorld;
import org.bukkit.entity.Player;
import org.bukkit.event.HandlerList;
import org.bukkit.inventory.ItemStack;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import net.minecraft.world.phys.Vec3;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.craftbukkit.v1_20_R2.entity.CraftPlayer;
import org.bukkit.craftbukkit.v1_20_R3.entity.CraftPlayer;
import org.bukkit.entity.Entity;
import org.bukkit.entity.EntityType;
import org.bukkit.entity.Player;
Expand Down

0 comments on commit d2da4b3

Please sign in to comment.