Fix 1.10 HD texture rendering bug

This commit is contained in:
Alexander Xia committed 2016-07-16 20:18:50 +08:00
1 parent 7654dc583d
commit b34a5b3343
2 files changed
+2 -1

No files matched your search

@@ -26,7 +26,7 @@ public class ImageBufferDownload implements IImageBuffer
BufferedImage bufferedimage = new BufferedImage(this.imageWidth, this.imageHeight, 2);
Graphics graphics = bufferedimage.getGraphics();
graphics.drawImage(image, 0, 0, (ImageObserver)null);
boolean flag = image.getHeight() == 32;
boolean flag = image.getHeight() == 32 * ratio;
if (flag)
{
+1
View File
@@ -30,6 +30,7 @@ Fixed skull load bug.
If you want to apply to add other skin website to default list, please go to [issue](https://github.com/JLChnToZ/MCCustomSkinLoader/issues).
##Copyright
####Package 'customskinloader'
Copyright(C) 2013-2016 JLChnToZ xfl03
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.