Skip to content

Commit

Permalink
Merge pull request #485 from ArcanePlugins/4.0.0-dev
Browse files Browse the repository at this point in the history
v4.0.1 b7
  • Loading branch information
stumper66 authored May 21, 2024
2 parents 260384d + d46f109 commit 649da66
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 6 deletions.
28 changes: 28 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
plugins {
kotlin("jvm") version "1.9.23"
id("org.jetbrains.dokka") version "1.9.20"
}

apply(plugin = "kotlin")
apply(plugin = "org.jetbrains.dokka")

repositories {
mavenCentral()
maven("https://jitpack.io")
}

dependencies {
implementation("io.github.arcaneplugins:LevelledMobs:4.0.0 b6")
}

subprojects {
apply(plugin = "org.jetbrains.dokka")
}

val javadocJar = tasks.register<Jar>("javadocJar") {
archiveClassifier.set("javadoc")
}

java {
withJavadocJar()
}
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
version = 4.0.0 b6
version = 4.0.1 b7
description = The Ultimate RPG Mob Levelling Solution
Original file line number Diff line number Diff line change
Expand Up @@ -547,17 +547,17 @@ class MainCompanion{
EntityType.SNOWMAN
))

if (versionInfo.majorVersion >= 1.19) {
if (versionInfo.minorVersion >= 19) {
passiveMobsGroup.addAll(Compat119.getPassiveMobs())
}
if (versionInfo.majorVersion >= 1.20) {
if (versionInfo.minorVersion >= 20) {
passiveMobsGroup.addAll(Compat120.getPassiveMobs())
}
if (versionInfo.majorVersion >= 1.21) {
if (versionInfo.minorVersion >= 21) {
passiveMobsGroup.addAll(Compat121.getPassiveMobs())
}

if (versionInfo.majorVersion >= 1.19) {
if (versionInfo.minorVersion >= 19) {
hostileMobsGroup.addAll(Compat119.getHostileMobs())
}

Expand All @@ -569,7 +569,7 @@ class MainCompanion{
EntityType.TURTLE
))

if (versionInfo.majorVersion >= 1.19) {
if (versionInfo.minorVersion >= 19) {
aquaticMobsGroup.addAll(getAquaticMobs())
}
}
Expand Down

0 comments on commit 649da66

Please sign in to comment.