Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-26 02:50:06 +01:00
Better naming for min position in HeightMap
Dieser Commit ist enthalten in:
Ursprung
fbe0c08c26
Commit
a40d1ccf51
@ -168,9 +168,9 @@ public class HeightMap {
|
|||||||
public int applyLayers(int[] data) {
|
public int applyLayers(int[] data) {
|
||||||
checkNotNull(data);
|
checkNotNull(data);
|
||||||
|
|
||||||
BlockVector3 minY = region.getMinimumPoint();
|
BlockVector3 min = region.getMinimumPoint();
|
||||||
int originX = minY.getBlockX();
|
int originX = min.getBlockX();
|
||||||
int originZ = minY.getBlockZ();
|
int originZ = min.getBlockZ();
|
||||||
|
|
||||||
int maxY = region.getMaximumPoint().getBlockY();
|
int maxY = region.getMaximumPoint().getBlockY();
|
||||||
|
|
||||||
@ -260,10 +260,10 @@ public class HeightMap {
|
|||||||
public int apply(int[] data) throws MaxChangedBlocksException {
|
public int apply(int[] data) throws MaxChangedBlocksException {
|
||||||
checkNotNull(data);
|
checkNotNull(data);
|
||||||
|
|
||||||
BlockVector3 minY = region.getMinimumPoint();
|
BlockVector3 min = region.getMinimumPoint();
|
||||||
int originX = minY.getBlockX();
|
int originX = min.getBlockX();
|
||||||
int originY = minY.getBlockY();
|
int originY = min.getBlockY();
|
||||||
int originZ = minY.getBlockZ();
|
int originZ = min.getBlockZ();
|
||||||
|
|
||||||
int maxY = region.getMaximumPoint().getBlockY();
|
int maxY = region.getMaximumPoint().getBlockY();
|
||||||
BlockState fillerAir = BlockTypes.AIR.getDefaultState();
|
BlockState fillerAir = BlockTypes.AIR.getDefaultState();
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren