make Schem Fom start to end work better
All checks were successful
/ Auto-Build-App (push) Successful in 1m33s
All checks were successful
/ Auto-Build-App (push) Successful in 1m33s
This commit is contained in:
parent
032d553038
commit
dab6d8fa11
1 changed files with 2 additions and 0 deletions
|
@ -30,6 +30,8 @@ public class Schematic implements Json.Serializable {
|
|||
Vector3 b = new Vector3(end.getGlobalX(),end.getGlobalY(),end.getGlobalZ());
|
||||
BoundingBox bb = new BoundingBox(a,b);
|
||||
bb.update();
|
||||
bb.max.add(1);
|
||||
bb.update();
|
||||
bb.getDimensions(size);
|
||||
blockStates=new String[(int) (size.x*size.y*size.z)];
|
||||
start=block_util.getBlockPositionFromGlobalXYZ(zone,(int)bb.min.x,(int)bb.min.y,(int)bb.min.z);
|
||||
|
|
Loading…
Reference in a new issue