mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-01 22:16:08 +00:00
Back to Java 16 for now
This commit is contained in:
1 parent
bb42a4d106
commit
59679bba75
4 files changed
+6
-7
No files matched your search
+2
-1
@@ -24,7 +24,8 @@ allprojects {
|
||||
compileJava.options.encoding = 'UTF-8'
|
||||
javadoc.options.encoding = 'UTF-8'
|
||||
|
||||
compileJava.options.release.set 17
|
||||
compileJava.options.release.set 16
|
||||
compileTestJava.options.release.set 17
|
||||
|
||||
repositories {
|
||||
mavenLocal()
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@ dependencies {
|
||||
compileOnly 'net.william278:DesertWell:1.0'
|
||||
compileOnly 'com.github.MilkBowl:VaultAPI:1.7.1'
|
||||
compileOnly 'us.dynmap:dynmap-api:3.1'
|
||||
compileOnly 'maven.modrinth:pl3xmap:1.19.2-217'
|
||||
//compileOnly 'maven.modrinth:pl3xmap:1.19.2-217'
|
||||
|
||||
testImplementation 'com.github.seeseemelk:MockBukkit-v1.19:2.117.1'
|
||||
testImplementation 'de.themoep:minedown:1.7.1-SNAPSHOT'
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
package net.william278.huskhomes.hook;
|
||||
|
||||
import net.pl3x.map.api.Key;
|
||||
import net.pl3x.map.api.Pl3xMap;
|
||||
import net.william278.huskhomes.HuskHomes;
|
||||
import net.william278.huskhomes.position.Home;
|
||||
import net.william278.huskhomes.position.Warp;
|
||||
@@ -26,14 +24,14 @@ public class Pl3xMapHook extends MapHook {
|
||||
@Override
|
||||
protected CompletableFuture<Void> initializeMap() {
|
||||
return CompletableFuture.runAsync(() -> {
|
||||
try {
|
||||
/*try {
|
||||
Pl3xMap.api().getIconRegistry().register(new Key(PUBLIC_HOME_MARKER_IMAGE_NAME), ImageIO.read
|
||||
(Objects.requireNonNull(plugin.getResource("markers/16x/" + PUBLIC_HOME_MARKER_IMAGE_NAME + ".png"))));
|
||||
Pl3xMap.api().getIconRegistry().register(new Key(PUBLIC_HOME_MARKER_IMAGE_NAME), ImageIO.read
|
||||
(Objects.requireNonNull(plugin.getResource("markers/16x/" + WARP_MARKER_IMAGE_NAME + ".png"))));
|
||||
} catch (IOException e) {
|
||||
plugin.getLoggingAdapter().log(Level.SEVERE, "Failed to load marker image resources", e);
|
||||
}
|
||||
}*/
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
org.gradle.jvmargs='-Dfile.encoding=UTF-8'
|
||||
|
||||
org.gradle.daemon=true
|
||||
javaVersion=17
|
||||
javaVersion=16
|
||||
|
||||
plugin_version=3.0
|
||||
plugin_archive=huskhomes
|
||||
|
||||
Reference in new issue
Block a user