Different Bukkit schedule spin workaround, that isn't so slow

Generalize texture image loading
This commit is contained in:
Mike Primm 2011-07-17 16:19:24 -05:00
parent 5208825555
commit c9a225536e
6 changed files with 154 additions and 207 deletions

View file

@ -262,10 +262,10 @@ public class HDBlockModels {
*/
public static void loadModels(File datadir) {
/* Load block models */
HDBlockModels.loadModelFile(new File(datadir, "models.txt"));
loadModelFile(new File(datadir, "models.txt"));
File custom = new File(datadir, "custom-models.txt");
if(custom.canRead()) {
HDBlockModels.loadModels(custom);
loadModelFile(custom);
}
else {
try {