change how it's accessed to maybe eliminate instance weirdness

This commit is contained in:
MachineMuse 2013-07-12 06:09:38 -06:00
parent 83062845f1
commit 055cce6ece
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@ import net.minecraftforge.client.model.obj.WavefrontObject
import net.minecraft.nbt.NBTTagCompound
object ArmorModel {
val instance: ArmorModel = ArmorModelInstance.getInstance()
def instance: ArmorModel = ArmorModelInstance.getInstance()
}
trait ArmorModel extends ModelBiped {

View file

@ -5,7 +5,7 @@ package net.machinemuse.powersuits.client.render.item;
* Created: 10:01 PM, 11/07/13
*/
public class ArmorModelInstance {
private static ArmorModel instance;
private static ArmorModel instance = null;
public static ArmorModel getInstance() {
if (instance == null) {