mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 03:39:17 +00:00
Update config to new system. Remove adaptor for now.
This commit is contained in:
1 parent
2500e3a52e
commit
2acde8a867
61 files changed
+317
-550
No files matched your search
@@ -30,7 +30,7 @@ public class LexiconModel implements IBakedModel {
|
||||
public Pair<? extends IBakedModel, Matrix4f> handlePerspective(ItemCameraTransforms.TransformType cameraTransformType) {
|
||||
if((cameraTransformType == ItemCameraTransforms.TransformType.FIRST_PERSON_RIGHT_HAND
|
||||
|| cameraTransformType == ItemCameraTransforms.TransformType.FIRST_PERSON_LEFT_HAND)
|
||||
&& ConfigHandler.lexicon3dModel)
|
||||
&& ConfigHandler.CLIENT.lexicon3dModel.get())
|
||||
return Pair.of(this, null);
|
||||
IBakedModel original = Minecraft.getInstance().getBlockRendererDispatcher().getBlockModelShapes().getModelManager().getModel(path2D);
|
||||
return original.handlePerspective(cameraTransformType);
|
||||
|
||||
Reference in new issue
Block a user