mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-03 15:08:18 +01:00
Fix setting of locations to LazyLocations + Shade CheckerQual (#4208)
This commit is contained in:
parent
3d09ea386b
commit
8b1db22a53
@ -14,7 +14,7 @@ dependencies {
|
||||
|
||||
implementation 'org.spongepowered:configurate-yaml:4.1.1'
|
||||
implementation 'org.yaml:snakeyaml:1.+'
|
||||
testImplementation 'org.checkerframework:checker-qual:3.7.1'
|
||||
implementation 'org.checkerframework:checker-qual:3.7.1'
|
||||
|
||||
// Providers
|
||||
api project(':providers:BaseProviders')
|
||||
@ -35,6 +35,7 @@ shadowJar {
|
||||
include (dependency('org.spongepowered:configurate-core'))
|
||||
include (dependency('org.yaml:snakeyaml'))
|
||||
include (dependency('io.leangen.geantyref:geantyref'))
|
||||
include (dependency('org.checkerframework:checker-qual'))
|
||||
include (project(':providers:BaseProviders'))
|
||||
include (project(':providers:PaperProvider'))
|
||||
include (project(':providers:NMSReflectionProvider'))
|
||||
@ -45,4 +46,5 @@ shadowJar {
|
||||
relocate 'org.spongepowered.configurate', 'com.earth2me.essentials.libs.configurate'
|
||||
relocate 'org.yaml.snakeyaml', 'com.earth2me.essentials.libs.snakeyaml'
|
||||
relocate 'io.leangen.geantyref', 'com.earth2me.essentials.libs.geantyref'
|
||||
relocate 'org.checkerframework', 'com.earth2me.essentials.libs.checkerframework'
|
||||
}
|
||||
|
@ -100,7 +100,7 @@ public class EssentialsConfiguration {
|
||||
|
||||
public void setProperty(String path, final Location location) {
|
||||
path = path == null ? "" : path;
|
||||
setInternal(path, location);
|
||||
setInternal(path, LazyLocation.fromLocation(location));
|
||||
}
|
||||
|
||||
public LazyLocation getLocation(final String path) throws InvalidWorldException {
|
||||
|
Loading…
Reference in New Issue
Block a user