diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0443cb4 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +.project +.vscode +.settings +.factorypath +.classpath +/target diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..9c0e9a6 --- /dev/null +++ b/pom.xml @@ -0,0 +1,75 @@ + + 4.0.0 + twolovers.viarewindpotions + ViaPotions + 0.0.2 + + 1.8 + 1.8 + + + ${project.artifactId} + ${basedir}/src/ + + + src/resources + + + + + maven-compiler-plugin + 3.8.1 + + 1.8 + 1.8 + + + + + + + + spigot-repo + https://hub.spigotmc.org/nexus/content/repositories/snapshots/ + + + + jitpack.io + https://jitpack.io + + + + viaversion-repo + https://repo.viaversion.com + + + + dmulloy2-repo + https://repo.dmulloy2.net/repository/public/ + + + + + org.spigotmc + spigot-api + 1.16.5-R0.1-SNAPSHOT + provided + + + com.viaversion + viaversion-api + 4.0.0 + provided + + + com.comphenix.protocol + ProtocolLib + 4.6.0 + + + com.github.ProtocolSupport + ProtocolSupport + eafe538e35 + + + diff --git a/src/plugin.yml b/src/resources/plugin.yml similarity index 94% rename from src/plugin.yml rename to src/resources/plugin.yml index 33239c3..5ebc91e 100644 --- a/src/plugin.yml +++ b/src/resources/plugin.yml @@ -1,5 +1,5 @@ name: ViaRewindPotions -version: 0.0.1 +version: 0.0.2 description: Translates thrown potions for ProtocolSupport and ViaRewind depend: [ProtocolLib] softdepend: diff --git a/src/twolovers/viarewindpotions/utils/VersionUtil.java b/src/twolovers/viarewindpotions/utils/VersionUtil.java index 5b53bf6..775a2ec 100644 --- a/src/twolovers/viarewindpotions/utils/VersionUtil.java +++ b/src/twolovers/viarewindpotions/utils/VersionUtil.java @@ -5,7 +5,7 @@ import org.bukkit.plugin.PluginManager; import protocolsupport.api.ProtocolSupportAPI; import protocolsupport.api.ProtocolType; -import us.myles.ViaVersion.api.Via; +import com.viaversion.viaversion.api.Via; public class VersionUtil { private final Plugin protocolSupport;