3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-05 02:50:05 +01:00

Temporary fix for #1122

Dieser Commit ist enthalten in:
dordsor21 2021-06-14 06:34:05 +01:00
Ursprung d015e6b270
Commit 256d7c4e5d
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 1E53E88969FFCF0B

Datei anzeigen

@ -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);