mirror of
https://github.com/plexusorg/Plex.git
synced 2026-06-04 05:26: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);
|
return delegate.get(path);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Object get(String path, Object def)
|
||||||
|
{
|
||||||
|
return delegate.get(path, def);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getString(String path)
|
public String getString(String path)
|
||||||
{
|
{
|
||||||
@@ -73,6 +79,36 @@ public class ModuleConfig extends ModuleConfiguration
|
|||||||
return delegate.getBoolean(path);
|
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
|
@Override
|
||||||
public void set(String path, Object value)
|
public void set(String path, Object value)
|
||||||
{
|
{
|
||||||
|
|||||||
+2
-2
@@ -1,9 +1,9 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id("java")
|
id("java")
|
||||||
id("maven-publish")
|
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("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"
|
group = "dev.plex"
|
||||||
|
|||||||
@@ -78,16 +78,18 @@ paper {
|
|||||||
required = false
|
required = false
|
||||||
load = PaperPluginDescription.RelativeLoadOrder.BEFORE
|
load = PaperPluginDescription.RelativeLoadOrder.BEFORE
|
||||||
}
|
}
|
||||||
|
register("SuperVanish") {
|
||||||
|
required = false
|
||||||
|
load = PaperPluginDescription.RelativeLoadOrder.BEFORE
|
||||||
|
}
|
||||||
register("PremiumVanish") {
|
register("PremiumVanish") {
|
||||||
required = false
|
required = false
|
||||||
load = PaperPluginDescription.RelativeLoadOrder.BEFORE
|
load = PaperPluginDescription.RelativeLoadOrder.BEFORE
|
||||||
}
|
}
|
||||||
register("SlimeWorldManager") {
|
// For the HTTPD
|
||||||
required = false
|
register("NBTAPI") {
|
||||||
load = PaperPluginDescription.RelativeLoadOrder.AFTER
|
|
||||||
}
|
|
||||||
register("SuperVanish") {
|
|
||||||
required = false
|
required = false
|
||||||
|
joinClasspath = true
|
||||||
load = PaperPluginDescription.RelativeLoadOrder.BEFORE
|
load = PaperPluginDescription.RelativeLoadOrder.BEFORE
|
||||||
}
|
}
|
||||||
register("Vault") {
|
register("Vault") {
|
||||||
|
|||||||
Reference in New Issue
Block a user