mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-25 06:27:41 +01:00
Fix up ItemOutline
This commit is contained in:
parent
6cf204f6af
commit
205e47352e
1 changed files with 2 additions and 2 deletions
|
@ -34,12 +34,12 @@ public class ItemOutline extends Outline {
|
|||
}
|
||||
|
||||
@Override
|
||||
public void render(PoseStack ms, SuperRenderTypeBuffer buffer, float pt) {
|
||||
public void render(PoseStack ms, SuperRenderTypeBuffer buffer, Vec3 camera, float pt) {
|
||||
Minecraft mc = Minecraft.getInstance();
|
||||
ms.pushPose();
|
||||
|
||||
TransformStack.cast(ms)
|
||||
.translate(pos)
|
||||
.translate(pos.x - camera.x, pos.y - camera.y, pos.z - camera.z)
|
||||
.scale(params.alpha);
|
||||
|
||||
mc.getItemRenderer().render(stack, ItemTransforms.TransformType.FIXED, false, ms,
|
||||
|
|
Loading…
Reference in a new issue