mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-21 01:02:19 +00:00
Optimize Imports
This commit is contained in:
1 parent
61dc056735
commit
9c541999f3
264 files changed
+2848
-489
No files matched your search
@@ -20,6 +20,7 @@ import javax.imageio.ImageIO;
|
||||
import java.awt.*;
|
||||
import java.awt.image.BufferedImage;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
|
||||
public class ModelPony extends ModelBase {
|
||||
|
||||
@@ -762,23 +763,23 @@ public class ModelPony extends ModelBase {
|
||||
pony.isPegasus = false;
|
||||
pony.isUnicorn = false;
|
||||
Color color = new Color(bufferedimage.getRGB(0, 0), true);
|
||||
Color color1 = new Color(249, 177, 49, 255);
|
||||
Color color2 = new Color(136, 202, 240, 255);
|
||||
Color color3 = new Color(209, 159, 228, 255);
|
||||
Color color4 = new Color(254, 249, 252, 255);
|
||||
if (color.equals(color1)) {
|
||||
}
|
||||
if (color.equals(color2)) {
|
||||
pony.isPegasus = true;
|
||||
}
|
||||
if (color.equals(color3)) {
|
||||
pony.isUnicorn = true;
|
||||
}
|
||||
if (color.equals(color4)) {
|
||||
pony.isPegasus = true;
|
||||
pony.isUnicorn = true;
|
||||
}
|
||||
pony.checked = pony.textureLocation;
|
||||
Color color1 = new Color(249, 177, 49, 255);
|
||||
Color color2 = new Color(136, 202, 240, 255);
|
||||
Color color3 = new Color(209, 159, 228, 255);
|
||||
Color color4 = new Color(254, 249, 252, 255);
|
||||
if (color.equals(color1)) {
|
||||
}
|
||||
if (color.equals(color2)) {
|
||||
pony.isPegasus = true;
|
||||
}
|
||||
if (color.equals(color3)) {
|
||||
pony.isUnicorn = true;
|
||||
}
|
||||
if (color.equals(color4)) {
|
||||
pony.isPegasus = true;
|
||||
pony.isUnicorn = true;
|
||||
}
|
||||
pony.checked = pony.textureLocation;
|
||||
}
|
||||
} catch (IOException e) {
|
||||
|
||||
|
||||
Reference in new issue
Block a user