Fix compiling MC 1.16.5+

This commit is contained in:
James Seibel
2026-05-14 20:52:36 -05:00
parent b164e4646d
commit 271f4e8b21
2 changed files with 3 additions and 3 deletions
@@ -117,7 +117,7 @@ public class McObjectConverter
#if MC_VER <= MC_1_12_2
private static final EnumFacing[] mcDirections;
#else
private static final Direction[] directions;
private static final Direction[] mcDirections;
#endif
private static final EDhDirection[] dhDirections;
@@ -254,7 +254,7 @@ public class WrapperFactory implements IWrapperFactory
#if MC_VER <= MC_1_12_2
World level = (World) objectArray[1];
#else
World Level = (Level) objectArray[1];
Level level = (Level) objectArray[1];
#endif
//endregion
@@ -423,7 +423,7 @@ public class WrapperFactory implements IWrapperFactory
IBlockState blockState = (IBlockState) objectArray[0];
return BlockStateWrapper.fromBlockState(blockState, coreLevelWrapper);
#else
IBlockState BlockState = (BlockState) objectArray[0];
BlockState blockState = (BlockState) objectArray[0];
return BlockStateWrapper.fromBlockState(blockState, coreLevelWrapper);
#endif
}