This commit is contained in:
NotMyFault 2021-07-01 22:49:10 +02:00
parent aa3ae63682
commit 876d84aec0
No known key found for this signature in database
GPG Key ID: 158F5701A6AAD00C

View File

@ -402,7 +402,7 @@ public class BlockTransformExtent extends ResettableExtent {
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()));
LOGGER.warn(String.format("Index outside direction array length found for block:{%s} property:{%s}", state.getBlockType().getId(), property.getName()));
continue;
}
Integer newIndex = getNewStateIndex(transform, directions, oldIndex);