mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-19 19:49:54 +00:00
Fix server crash from wood icon registration
This commit is contained in:
1 parent
09fcbad632
commit
7ed3d1e19f
1 file changed
+2
-1
@@ -60,10 +60,11 @@ public enum WoodType {
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
private static final IIcon[][] icons = new IIcon[3][VALUES.length];
|
||||
private static IIcon[][] icons;
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public static void registerIcons(IIconRegister register) {
|
||||
icons = new IIcon[3][VALUES.length];
|
||||
for (int i = 0; i < VALUES.length; i++) {
|
||||
WoodType woodType = VALUES[i];
|
||||
String woodName = woodType.toString().toLowerCase(Locale.ENGLISH);
|
||||
|
||||
Reference in new issue
Block a user