mirror of
https://gitlab.com/SamB440/rpgregions-2.git
synced 2025-12-30 20:29:18 +00:00
Cleanup & upgrade gradle dependencies
This commit is contained in:
@@ -10,34 +10,45 @@ sourceCompatibility = 1.8
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
mavenLocal()
|
||||
|
||||
maven { url 'https://jitpack.io' }
|
||||
|
||||
maven {
|
||||
name = 'papermc-repo'
|
||||
url = 'https://papermc.io/repo/repository/maven-public/'
|
||||
name 'papermc-repo'
|
||||
url 'https://papermc.io/repo/repository/maven-public/'
|
||||
}
|
||||
|
||||
maven {
|
||||
name = 'sonatype'
|
||||
url = 'https://oss.sonatype.org/content/groups/public/'
|
||||
name 'sonatype'
|
||||
url 'https://oss.sonatype.org/content/groups/public/'
|
||||
}
|
||||
|
||||
maven {
|
||||
name = 'CodeMC'
|
||||
url = 'https://repo.codemc.org/repository/maven-public'
|
||||
name 'CodeMC'
|
||||
url 'https://repo.codemc.org/repository/maven-public'
|
||||
}
|
||||
|
||||
maven { url = "https://repo.aikar.co/content/groups/aikar/" }
|
||||
maven { url "https://repo.aikar.co/content/groups/aikar/" }
|
||||
|
||||
maven { url = "https://jitpack.io" }
|
||||
// worldguard
|
||||
maven { url "https://maven.enginehub.org/repo/" }
|
||||
|
||||
// PAPI
|
||||
maven { url 'http://repo.extendedclip.com/content/repositories/placeholderapi/' }
|
||||
|
||||
// plan
|
||||
maven {
|
||||
url = 'http://repo.extendedclip.com/content/repositories/placeholderapi/'
|
||||
name 'bintray'
|
||||
url 'https://dl.bintray.com/rsl1122/Plan-repository'
|
||||
}
|
||||
|
||||
maven { url 'https://hub.spigotmc.org/nexus/content/repositories/public/' }
|
||||
|
||||
// MythicMobs
|
||||
maven {
|
||||
url = 'https://mvn.lumine.io/repository/maven-public/'
|
||||
}
|
||||
maven { url 'https://mvn.lumine.io/repository/maven-public/' }
|
||||
|
||||
maven { url 'https://repo.codemc.io/repository/maven-snapshots/' }
|
||||
|
||||
flatDir { dir '../libraries' }
|
||||
}
|
||||
@@ -48,12 +59,14 @@ dependencies {
|
||||
testImplementation 'org.reflections:reflections:0.9.12'
|
||||
|
||||
implementation 'com.gitlab.samb440:languagy:2.0.3-RELEASE' // languagy
|
||||
implementation 'io.papermc:paperlib:1.0.4' // paperlib - async teleport on Paper
|
||||
|
||||
compileOnly 'org.spigotmc:spigot-api:1.13.2-R0.1-SNAPSHOT' // spigot
|
||||
compileOnly 'com.github.MilkBowl:VaultAPI:1.7' // vault
|
||||
compileOnly 'me.clip:placeholderapi:2.10.4' // PAPI
|
||||
compileOnly name: 'AlonsoLevels_v2.0-BETA' // alonsolevels
|
||||
compileOnly 'com.github.shynixn.headdatabase:hdb-api:1.0' // head database
|
||||
compileOnly 'org.jetbrains:annotations:19.0.0'
|
||||
compileOnly 'org.jetbrains:annotations:20.1.0'
|
||||
compileOnly ('com.sk89q.worldedit:worldedit-bukkit:7.2.0-SNAPSHOT') {
|
||||
exclude group: 'com.google'
|
||||
exclude group: 'org.bukkit'
|
||||
@@ -64,5 +77,4 @@ dependencies {
|
||||
exclude group: 'org.spigotmc'
|
||||
}
|
||||
compileOnly 'io.lumine.xikage:MythicMobs:4.9.1'
|
||||
implementation 'io.papermc:paperlib:1.0.4' // paperlib - async teleport on Paper
|
||||
}
|
||||
|
||||
@@ -102,6 +102,7 @@ public class RegenUtils {
|
||||
return false;
|
||||
}
|
||||
|
||||
// This is awful and needs changing
|
||||
private static void generateRandomEntities(ProtectedRegion region, ConfiguredRegion configuredRegion) {
|
||||
Regenerate regenerate = configuredRegion.getRegenerate();
|
||||
if (regenerate == null) return;
|
||||
|
||||
Reference in New Issue
Block a user