geforkt von Mirrors/FastAsyncWorldEdit
Minor changes to urls and todo's
Dieser Commit ist enthalten in:
Ursprung
004a60d145
Commit
491be025cc
@ -124,15 +124,15 @@ public class FaweBukkit implements IFawe, Listener {
|
|||||||
PluginManager manager = Bukkit.getPluginManager();
|
PluginManager manager = Bukkit.getPluginManager();
|
||||||
|
|
||||||
if (manager.getPlugin("PacketListenerApi") == null) {
|
if (manager.getPlugin("PacketListenerApi") == null) {
|
||||||
File output = new File(plugin.getDataFolder().getParentFile(), "PacketListenerAPI_v3.7.3-SNAPSHOT.jar");
|
File output = new File(plugin.getDataFolder().getParentFile(), "PacketListenerAPI_v3.7.6-SNAPSHOT.jar");
|
||||||
byte[] jarData = Jars.PL_v3_7_3.download();
|
byte[] jarData = Jars.PL_v3_7_6.download();
|
||||||
try (FileOutputStream fos = new FileOutputStream(output)) {
|
try (FileOutputStream fos = new FileOutputStream(output)) {
|
||||||
fos.write(jarData);
|
fos.write(jarData);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (manager.getPlugin("MapManager") == null) {
|
if (manager.getPlugin("MapManager") == null) {
|
||||||
File output = new File(plugin.getDataFolder().getParentFile(), "MapManager_v1.7.3-SNAPSHOT.jar");
|
File output = new File(plugin.getDataFolder().getParentFile(), "MapManager_v1.7.8-SNAPSHOT.jar");
|
||||||
byte[] jarData = Jars.MM_v1_7_3.download();
|
byte[] jarData = Jars.MM_v1_7_8.download();
|
||||||
try (FileOutputStream fos = new FileOutputStream(output)) {
|
try (FileOutputStream fos = new FileOutputStream(output)) {
|
||||||
fos.write(jarData);
|
fos.write(jarData);
|
||||||
}
|
}
|
||||||
|
@ -98,7 +98,7 @@ public class BukkitImageViewer implements ImageViewer {
|
|||||||
|
|
||||||
World world = pos1.getWorld();
|
World world = pos1.getWorld();
|
||||||
|
|
||||||
this.reverse = (facing == BlockFace.NORTH || facing == BlockFace.EAST);
|
this.reverse = facing == BlockFace.NORTH || facing == BlockFace.EAST;
|
||||||
int v = 0;
|
int v = 0;
|
||||||
for (double y = pos1.getY(); y <= pos2.getY(); y++, v++) {
|
for (double y = pos1.getY(); y <= pos2.getY(); y++, v++) {
|
||||||
int h = 0;
|
int h = 0;
|
||||||
|
@ -276,6 +276,7 @@ public class Settings extends Config {
|
|||||||
" - A smaller value will reduce memory usage",
|
" - A smaller value will reduce memory usage",
|
||||||
" - A value too small may break some operations (deform?)"
|
" - A value too small may break some operations (deform?)"
|
||||||
})
|
})
|
||||||
|
//TODO Find out where this was used and why the usage was removed
|
||||||
public int MAX_WAIT_MS = 1000;
|
public int MAX_WAIT_MS = 1000;
|
||||||
|
|
||||||
@Comment({
|
@Comment({
|
||||||
@ -292,6 +293,7 @@ public class Settings extends Config {
|
|||||||
" - Low values may result in FAWE waiting on requests to the main thread",
|
" - Low values may result in FAWE waiting on requests to the main thread",
|
||||||
" - Higher values use more memory and isn't noticeably faster",
|
" - Higher values use more memory and isn't noticeably faster",
|
||||||
})
|
})
|
||||||
|
//TODO Find out where this was used and why the usage was removed
|
||||||
public int PRELOAD_CHUNKS = 100000;
|
public int PRELOAD_CHUNKS = 100000;
|
||||||
|
|
||||||
@Comment({
|
@Comment({
|
||||||
|
@ -11,13 +11,13 @@ import java.util.Base64;
|
|||||||
|
|
||||||
public enum Jars {
|
public enum Jars {
|
||||||
|
|
||||||
MM_v1_7_3(
|
MM_v1_7_8(
|
||||||
"https://github.com/InventivetalentDev/MapManager/releases/download/1.7.3-SNAPSHOT/MapManager_v1.7.3-SNAPSHOT.jar",
|
"https://github.com/InventivetalentDev/MapManager/releases/download/1.7.8-SNAPSHOT/MapManager_v1.7.8-SNAPSHOT.jar",
|
||||||
"m3YLUqZz66k2DmvdcYLeu38u3zKRKhrAXqGGpVKfO6g=", 554831),
|
"m3YLUqZz66k2DmvdcYLeu38u3zKRKhrAXqGGpVKfO6g=", 544000),
|
||||||
|
|
||||||
PL_v3_7_3(
|
PL_v3_7_6(
|
||||||
"https://github.com/InventivetalentDev/PacketListenerAPI/releases/download/3.7.3-SNAPSHOT/PacketListenerAPI_v3.7.3-SNAPSHOT.jar",
|
"https://github.com/InventivetalentDev/PacketListenerAPI/releases/download/3.7.6-SNAPSHOT/PacketListenerAPI_v3.7.6-SNAPSHOT.jar",
|
||||||
"etdBRzLn5pRVDfr/mSQdPm6Jjer3wQOKhcn8fUxo5zM=", 167205),
|
"etdBRzLn5pRVDfr/mSQdPm6Jjer3wQOKhcn8fUxo5zM=", 143000),
|
||||||
|
|
||||||
;
|
;
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren