From e34d840c0fe08ef12a3d39912818ef2ce18f08b8 Mon Sep 17 00:00:00 2001 From: nikita488 <6237881+nikita488@users.noreply.github.com> Date: Sat, 27 Jan 2024 14:01:54 +0300 Subject: [PATCH] Removed shrink of U and V by 16 in UnitTextureAtlasSprite --- .../neoforge/client/textures/UnitTextureAtlasSprite.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/neoforged/neoforge/client/textures/UnitTextureAtlasSprite.java b/src/main/java/net/neoforged/neoforge/client/textures/UnitTextureAtlasSprite.java index 08e4e0336b..6c4decbe05 100644 --- a/src/main/java/net/neoforged/neoforge/client/textures/UnitTextureAtlasSprite.java +++ b/src/main/java/net/neoforged/neoforge/client/textures/UnitTextureAtlasSprite.java @@ -27,11 +27,11 @@ private UnitTextureAtlasSprite() { @Override public float getU(float u) { - return u / 16; + return u; } @Override public float getV(float v) { - return v / 16; + return v; } }