(File file)
| 342 | } |
| 343 | |
| 344 | private Texture getAsset(File file) { |
| 345 | if (file == null) |
| 346 | return null; |
| 347 | return Forge.getAssets().manager().get(file.getPath(), Texture.class, false); |
| 348 | } |
| 349 | |
| 350 | private Texture loadAsset(String imageKey, File file, boolean others) { |
| 351 | if (file == null) |