mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 00:37:52 +00:00
Fix up some fubars in MTS and MTA
This commit is contained in:
1 parent
ac221275d9
commit
fa921f0aa9
2 files changed
+3
-3
No files matched your search
@@ -95,9 +95,9 @@ public class ModTextureAnimation extends TextureFX
|
||||
|
||||
for (int frame = 0; frame < frames; frame++)
|
||||
{
|
||||
int[] pixels = new int[tWidth * tHeight];
|
||||
int[] pixels = new int[tileSizeSquare];
|
||||
image.getRGB(0, tHeight * frame, tWidth, tHeight, pixels, 0, tWidth);
|
||||
images[frame] = new byte[tWidth * tHeight * 4];
|
||||
images[frame] = new byte[tileSizeSquare << 2];
|
||||
|
||||
for (int i = 0; i < pixels.length; i++)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user