Permalink
Browse files

Hide refresh_chunk() due to unreliability and deprecation

  • Loading branch information...
PseudoKnight committed Dec 18, 2017
1 parent 5498512 commit 4b8ec36c8e545debb661e56e0f58c39cc548ee96
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/main/java/com/laytonsmith/core/functions/World.java
@@ -19,6 +19,7 @@
import com.laytonsmith.abstraction.enums.MCWorldEnvironment;
import com.laytonsmith.abstraction.enums.MCWorldType;
import com.laytonsmith.annotations.api;
import com.laytonsmith.annotations.hide;
import com.laytonsmith.core.ArgumentValidation;
import com.laytonsmith.core.CHVersion;
import com.laytonsmith.core.ObjectGenerator;
@@ -193,6 +194,7 @@ public CHVersion since() {
}
@api(environments=CommandHelperEnvironment.class)
@hide("Deprecated.")
public static class refresh_chunk extends AbstractFunction {
@Override
@@ -207,8 +209,8 @@ public String getName() {
@Override
public String docs() {
return "void {[world], x, z | [world], locationArray} Resends the chunk data to all clients, using the specified world, or the current"
+ " players world if not provided.";
return "void {[world], x, z | [world], locationArray} This is not guaranteed to work reliably! Resends the"
+ " chunk data to all clients, using the specified world or current player's world.";
}
@Override

0 comments on commit 4b8ec36

Please sign in to comment.