Commit 6dc30e4d authored by Akka's avatar Akka Committed by GitHub
Browse files

Enable script in big world (#884)



* add docs for tower

* fix: LEAK: ByteBuf.release() was not called

* enableScriptInBigWorld

* not print log when loaded scripts from cache

* revert the change of server tick

* revert the change of server tick

* fix

* optimize the performance: lazy load & cache

* fix the refresh group

* fix NPE
Co-authored-by: default avatarMelledy <52122272+Melledy@users.noreply.github.com>
parent eb64b25f
......@@ -155,4 +155,10 @@ public class Position implements Serializable {
.setZ(this.getZ())
.build();
}
public long[] toLongArray(){
return new long[]{(long) x, (long) y, (long) z};
}
public long[] toXZLongArray(){
return new long[]{(long) x, (long) z};
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment