Forgot to load the chunk, whoops. Also bumping the version
This commit is contained in:
parent
61ae58f3f2
commit
63ad22a021
@ -10,7 +10,7 @@ buildscript {
|
|||||||
}
|
}
|
||||||
|
|
||||||
group = 'com.boydti.fawe'
|
group = 'com.boydti.fawe'
|
||||||
version = '3.3.19'
|
version = '3.3.20'
|
||||||
description = """FastAsyncWorldEdit"""
|
description = """FastAsyncWorldEdit"""
|
||||||
|
|
||||||
subprojects {
|
subprojects {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
name: FastAsyncWorldEdit
|
name: FastAsyncWorldEdit
|
||||||
main: com.boydti.fawe.bukkit.FaweBukkit
|
main: com.boydti.fawe.bukkit.FaweBukkit
|
||||||
version: 3.3.19
|
version: 3.3.20
|
||||||
description: Fast Async WorldEdit plugin
|
description: Fast Async WorldEdit plugin
|
||||||
authors: [Empire92]
|
authors: [Empire92]
|
||||||
loadbefore: [WorldEdit]
|
loadbefore: [WorldEdit]
|
||||||
|
@ -202,18 +202,17 @@ public class FaweBukkit extends JavaPlugin implements IFawe, Listener {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
return new BukkitQueue_1_8(world);
|
return new BukkitQueue_1_8(world);
|
||||||
} catch (Throwable e) {
|
} catch (Throwable ignore) {}
|
||||||
if (hasNMS) {
|
if (hasNMS) {
|
||||||
debug("====== NO NMS BLOCK PLACER FOUND ======");
|
debug("====== NO NMS BLOCK PLACER FOUND ======");
|
||||||
debug("FAWE couldn't find a fast block placer");
|
debug("FAWE couldn't find a fast block placer");
|
||||||
debug("Bukkit version: " + Bukkit.getVersion());
|
debug("Bukkit version: " + Bukkit.getVersion());
|
||||||
debug("Supported NMS versions: 1.8, 1.9");
|
debug("Supported NMS versions: 1.8, 1.9");
|
||||||
debug("Fallback placer: " + BukkitQueue_All.class);
|
debug("Fallback placer: " + BukkitQueue_All.class);
|
||||||
debug("=======================================");
|
debug("=======================================");
|
||||||
hasNMS = false;
|
hasNMS = false;
|
||||||
}
|
|
||||||
return new BukkitQueue_All(world);
|
|
||||||
}
|
}
|
||||||
|
return new BukkitQueue_All(world);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -85,6 +85,7 @@ public class BukkitQueue_All extends BukkitQueue_0 {
|
|||||||
startSet();
|
startSet();
|
||||||
final BukkitChunk_1_8 fs = ((BukkitChunk_1_8) fc);
|
final BukkitChunk_1_8 fs = ((BukkitChunk_1_8) fc);
|
||||||
final Chunk chunk = fs.getChunk();
|
final Chunk chunk = fs.getChunk();
|
||||||
|
chunk.load(true);
|
||||||
final World world = chunk.getWorld();
|
final World world = chunk.getWorld();
|
||||||
char[][] sections = fs.getIdArrays();
|
char[][] sections = fs.getIdArrays();
|
||||||
boolean done = false;
|
boolean done = false;
|
||||||
@ -283,7 +284,7 @@ public class BukkitQueue_All extends BukkitQueue_0 {
|
|||||||
lastSection = getCachedSection(lastChunk, cy);
|
lastSection = getCachedSection(lastChunk, cy);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (lastChunk == null) {
|
if (lastSection == null) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
return getCombinedId4Data(lastSection, x, y, z);
|
return getCombinedId4Data(lastSection, x, y, z);
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
name: FastAsyncWorldEdit
|
name: FastAsyncWorldEdit
|
||||||
main: com.boydti.fawe.bukkit.FaweBukkit
|
main: com.boydti.fawe.bukkit.FaweBukkit
|
||||||
version: 3.3.19
|
version: 3.3.20
|
||||||
description: Fast Async WorldEdit plugin
|
description: Fast Async WorldEdit plugin
|
||||||
authors: [Empire92]
|
authors: [Empire92]
|
||||||
loadbefore: [WorldEdit]
|
loadbefore: [WorldEdit]
|
||||||
|
@ -18,7 +18,7 @@ import org.spongepowered.api.plugin.PluginContainer;
|
|||||||
import org.spongepowered.api.profile.GameProfileManager;
|
import org.spongepowered.api.profile.GameProfileManager;
|
||||||
import org.spongepowered.api.world.World;
|
import org.spongepowered.api.world.World;
|
||||||
|
|
||||||
@Plugin(id = "com.boydti.fawe", name = "FastAsyncWorldEdit", description = "Lagless WorldEdit, Area restrictions, Memory mangement, Block logging", url = "https://github.com/boy0001/FastAsyncWorldedit", version = "3.3.19")
|
@Plugin(id = "com.boydti.fawe", name = "FastAsyncWorldEdit", description = "Lagless WorldEdit, Area restrictions, Memory mangement, Block logging", url = "https://github.com/boy0001/FastAsyncWorldedit", version = "3.3.20")
|
||||||
public class SpongeMain {
|
public class SpongeMain {
|
||||||
public PluginContainer plugin;
|
public PluginContainer plugin;
|
||||||
|
|
||||||
|
2
pom.xml
2
pom.xml
@ -8,7 +8,7 @@
|
|||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
</properties>
|
</properties>
|
||||||
<artifactId>FastAsyncWorldEdit</artifactId>
|
<artifactId>FastAsyncWorldEdit</artifactId>
|
||||||
<version>3.3.19</version>
|
<version>3.3.20</version>
|
||||||
<name>FastAsyncWorldEdit</name>
|
<name>FastAsyncWorldEdit</name>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<build>
|
<build>
|
||||||
|
Loading…
Reference in New Issue
Block a user