mirror of
https://github.com/xfl03/MCCustomSkinLoader.git
synced 2026-11-25 04:04:25 +00:00
15.0 (#378)
This commit is contained in:
1 parent
faebfc9bb1
commit
8b5d440ed7
287 files changed
+6431
-6792
No files matched your search
@@ -10,7 +10,6 @@ import javax.imageio.ImageIO;
|
||||
public class FakeBufferedImage implements FakeImage {
|
||||
private BufferedImage image;
|
||||
private Graphics graphics;
|
||||
private int ratio;
|
||||
|
||||
public FakeBufferedImage(int width, int height) {
|
||||
this(new BufferedImage(width, height, BufferedImage.TYPE_INT_ARGB));
|
||||
@@ -34,16 +33,6 @@ public class FakeBufferedImage implements FakeImage {
|
||||
return new FakeBufferedImage(ImageIO.read(is));
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getRatio() {
|
||||
return this.ratio;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setRatio(int ratio) {
|
||||
this.ratio = ratio;
|
||||
}
|
||||
|
||||
public int getWidth() {
|
||||
return image.getWidth();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user