change how it's accessed to maybe eliminate instance weirdness
This commit is contained in:
parent
83062845f1
commit
055cce6ece
2 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue