mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-27 23:46:10 +00:00
Optimize imports
This commit is contained in:
1 parent
7525123aad
commit
d703d5bae1
48 files changed
+93
-171
No files matched your search
@@ -25,7 +25,6 @@ import java.util.Set;
|
||||
|
||||
public class CarvableHelper
|
||||
{
|
||||
static final String modName = "chisel";
|
||||
public static final ArrayList<Block> chiselBlocks = new ArrayList<Block>();
|
||||
|
||||
public static final int NORMAL = 0;
|
||||
@@ -87,7 +86,7 @@ public class CarvableHelper
|
||||
{
|
||||
variation.texture = texture;
|
||||
|
||||
String path = "/assets/" + modName + "/textures/blocks/" + variation.texture;
|
||||
String path = "/assets/" + Chisel.MOD_ID + "/textures/blocks/" + variation.texture;
|
||||
|
||||
boolean any = Chisel.class.getResource(path + ".png") != null;
|
||||
boolean ctm3 = Chisel.class.getResource(path + "-ctm1.png") != null && Chisel.class.getResource(path + "-ctm2.png") != null && Chisel.class.getResource(path + "-ctm3.png") != null;
|
||||
|
||||
Reference in new issue
Block a user