This commit is contained in:
NotMyFault
2021-07-01 22:49:10 +02:00
parent aa3ae63682
commit 876d84aec0

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