Different Bukkit schedule spin workaround, that isn't so slow
Generalize texture image loading
This commit is contained in:
parent
5208825555
commit
c9a225536e
6 changed files with 154 additions and 207 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue