mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-19 19:49:54 +00:00
Fix #1163, Reloading Textures breaks Crate Textures
This commit is contained in:
1 parent
a15f110ca3
commit
6a4ea30484
1 file changed
+2
-1
@@ -59,7 +59,7 @@ import gnu.trove.map.hash.TIntObjectHashMap;
|
||||
@SideOnly(Side.CLIENT)
|
||||
public class ModelCrate extends BlankItemModel {
|
||||
|
||||
private final Map<String, IBakedModel> crates = Maps.newHashMap();
|
||||
private static final Map<String, IBakedModel> crates = Maps.newHashMap();
|
||||
|
||||
private static IModel crateModel;
|
||||
private static ModelBlock MODEL_GENERATED;
|
||||
@@ -76,6 +76,7 @@ public class ModelCrate extends BlankItemModel {
|
||||
} catch (Exception e) {
|
||||
Log.error("Failed to init the crate model.", e);
|
||||
}
|
||||
ModelCrate.crates.clear();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user