geforkt von Mirrors/FastAsyncWorldEdit
Temporary fix for #1122
Dieser Commit ist enthalten in:
Ursprung
d015e6b270
Commit
256d7c4e5d
@ -401,6 +401,10 @@ public class BlockTransformExtent extends ResettableExtent {
|
||||
long[] directions = getDirections(property);
|
||||
if (directions != null) {
|
||||
int oldIndex = property.getIndex(newMaskedId);
|
||||
if (oldIndex >= directions.length) {
|
||||
LOGGER.warn(String.format("Index outside direction array length found for block:{%s} propery:{%s}", state.getBlockType().getId(), property.getName()));
|
||||
continue;
|
||||
}
|
||||
Integer newIndex = getNewStateIndex(transform, directions, oldIndex);
|
||||
if (newIndex != null) {
|
||||
newMaskedId = property.modifyIndex(newMaskedId, newIndex);
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren