mirror of
https://github.com/plexusorg/Plex.git
synced 2026-06-03 21:16:55 +00:00
NBTAPI as a dependency
This commit is contained in:
@@ -43,6 +43,12 @@ public class ModuleConfig extends ModuleConfiguration
|
||||
return delegate.get(path);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object get(String path, Object def)
|
||||
{
|
||||
return delegate.get(path, def);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getString(String path)
|
||||
{
|
||||
@@ -73,6 +79,36 @@ public class ModuleConfig extends ModuleConfiguration
|
||||
return delegate.getBoolean(path);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean getBoolean(String path, boolean def)
|
||||
{
|
||||
return delegate.getBoolean(path, def);
|
||||
}
|
||||
|
||||
@Override
|
||||
public long getLong(String path)
|
||||
{
|
||||
return delegate.getLong(path);
|
||||
}
|
||||
|
||||
@Override
|
||||
public long getLong(String path, long def)
|
||||
{
|
||||
return delegate.getLong(path, def);
|
||||
}
|
||||
|
||||
@Override
|
||||
public double getDouble(String path)
|
||||
{
|
||||
return delegate.getDouble(path);
|
||||
}
|
||||
|
||||
@Override
|
||||
public double getDouble(String path, double def)
|
||||
{
|
||||
return delegate.getDouble(path, def);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void set(String path, Object value)
|
||||
{
|
||||
|
||||
+2
-2
@@ -1,9 +1,9 @@
|
||||
plugins {
|
||||
id("java")
|
||||
id("maven-publish")
|
||||
id("org.jetbrains.gradle.plugin.idea-ext") version "1.3" apply false
|
||||
id("org.jetbrains.gradle.plugin.idea-ext") version "1.4.1" apply false
|
||||
id("net.kyori.blossom") version "2.2.0" apply false
|
||||
id("com.gradleup.shadow") version "9.3.0" apply false
|
||||
id("com.gradleup.shadow") version "9.4.1" apply false
|
||||
}
|
||||
|
||||
group = "dev.plex"
|
||||
|
||||
@@ -78,16 +78,18 @@ paper {
|
||||
required = false
|
||||
load = PaperPluginDescription.RelativeLoadOrder.BEFORE
|
||||
}
|
||||
register("SuperVanish") {
|
||||
required = false
|
||||
load = PaperPluginDescription.RelativeLoadOrder.BEFORE
|
||||
}
|
||||
register("PremiumVanish") {
|
||||
required = false
|
||||
load = PaperPluginDescription.RelativeLoadOrder.BEFORE
|
||||
}
|
||||
register("SlimeWorldManager") {
|
||||
required = false
|
||||
load = PaperPluginDescription.RelativeLoadOrder.AFTER
|
||||
}
|
||||
register("SuperVanish") {
|
||||
// For the HTTPD
|
||||
register("NBTAPI") {
|
||||
required = false
|
||||
joinClasspath = true
|
||||
load = PaperPluginDescription.RelativeLoadOrder.BEFORE
|
||||
}
|
||||
register("Vault") {
|
||||
|
||||
Reference in New Issue
Block a user