made a oopsie

This commit is contained in:
rycbar0 2022-10-03 20:32:56 +02:00
parent 3a5608566e
commit b461b2af2f

View File

@ -202,7 +202,7 @@ public final class LitematicaHelper {
}
IBlockState state = schemIn.getDirect(xCounter, yCounter, zCounter);
try {
state.withMirror(LitematicaHelper.getMirror(i)).withRotation(LitematicaHelper.getRotation(i));
state = state.withMirror(LitematicaHelper.getMirror(i)).withRotation(LitematicaHelper.getRotation(i));
} catch (NullPointerException e) {
//nothing to worry about it's just a hole in the schematic.
}