Added load_chunk and unload_chunk #216

Closed
wants to merge 12 commits into
from

Conversation

Projects
None yet
3 participants
Contributor

ACzChef commented Feb 26, 2014

No description provided.

Contributor

EntityReborn commented Feb 26, 2014

Could have sworn I've added these in before. Meh.

src/main/java/com/laytonsmith/core/functions/World.java
+
+ @Override
+ public boolean isRestricted() {
+ throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
@EntityReborn

EntityReborn Feb 26, 2014

Contributor

Oops.

src/main/java/com/laytonsmith/core/functions/World.java
+
+ @Override
+ public Boolean runAsync() {
+ return true;
@EntityReborn

EntityReborn Feb 26, 2014

Contributor

Does this NEED to be async?

src/main/java/com/laytonsmith/core/functions/World.java
+
+ @Override
+ public boolean isRestricted() {
+ throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
@EntityReborn

EntityReborn Feb 26, 2014

Contributor

Oops.

src/main/java/com/laytonsmith/core/functions/World.java
+
+ @Override
+ public Boolean runAsync() {
+ return true;
@EntityReborn

EntityReborn Feb 26, 2014

Contributor

Does this NEED to be async?

src/main/java/com/laytonsmith/abstraction/bukkit/BukkitMCWorld.java
@@ -273,6 +273,14 @@ public MCLocation getSpawnLocation() {
public void refreshChunk(int x, int z) {
w.refreshChunk(x, z);
}
+
+ public void loadChunk(int x, int z) {
+ w.loadChunk(z, z);
@LadyCailin

LadyCailin Feb 26, 2014

Contributor

(z, z) certainly doesn't look right.

@ACzChef ACzChef closed this Mar 11, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment