mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
Fix loading on Java versions prior to 16
- Lazy workaround continuously JitPack outages
This commit is contained in:
parent
457861b879
commit
dd082d4f39
@ -102,7 +102,7 @@ dependencies {
|
||||
// Third party
|
||||
implementation("org.bstats:bstats-bukkit:2.2.1")
|
||||
implementation("org.bstats:bstats-base:2.2.1")
|
||||
compileOnlyApi("org.inventivetalent:mapmanager:1.7.10-SNAPSHOT") { isTransitive = false }
|
||||
// compileOnlyApi("org.inventivetalent:mapmanager:1.7.10-SNAPSHOT") { isTransitive = false }
|
||||
implementation("com.github.TechFortress:GriefPrevention:16.17.1") { isTransitive = false }
|
||||
implementation("com.github.bloodmc:GriefDefenderApi:920a610") { isTransitive = false }
|
||||
implementation("com.flowpowered:flow-math:1.0.3") {
|
||||
|
@ -19,7 +19,7 @@ import com.fastasyncworldedit.bukkit.regions.Worldguard;
|
||||
import com.fastasyncworldedit.bukkit.util.BukkitTaskManager;
|
||||
import com.fastasyncworldedit.bukkit.util.ItemUtil;
|
||||
import com.fastasyncworldedit.bukkit.util.MinecraftVersion;
|
||||
import com.fastasyncworldedit.bukkit.util.image.BukkitImageViewer;
|
||||
//import com.fastasyncworldedit.bukkit.util.image.BukkitImageViewer;
|
||||
import com.fastasyncworldedit.core.configuration.Settings;
|
||||
import com.fastasyncworldedit.core.regions.FaweMaskManager;
|
||||
import com.fastasyncworldedit.core.util.ThirdPartyManager;
|
||||
@ -126,7 +126,7 @@ public class FaweBukkit implements IFawe, Listener {
|
||||
fos.write(jarData);
|
||||
}
|
||||
}
|
||||
return new BukkitImageViewer(BukkitAdapter.adapt(player));
|
||||
// return new BukkitImageViewer(BukkitAdapter.adapt(player));
|
||||
} catch (Throwable ignored) {
|
||||
}
|
||||
return null;
|
||||
|
@ -1,3 +1,4 @@
|
||||
/*
|
||||
package com.fastasyncworldedit.bukkit.util.image;
|
||||
|
||||
import com.fastasyncworldedit.core.util.image.Drawable;
|
||||
@ -200,3 +201,5 @@ public class BukkitImageViewer implements ImageViewer {
|
||||
last = null;
|
||||
}
|
||||
}
|
||||
|
||||
*/
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user