Fix compiling MC 1.16.5+
This commit is contained in:
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user