From 535fc3089a1b8ccdfca6d18ab1713e14edbece76 Mon Sep 17 00:00:00 2001 From: crashdemons Date: Tue, 25 Sep 2018 05:30:04 -0500 Subject: [PATCH] initialize skull material properly --- .../com/github/crashdemons/playerheads/VanillaSkullType.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/github/crashdemons/playerheads/VanillaSkullType.java b/src/main/java/com/github/crashdemons/playerheads/VanillaSkullType.java index 584c99c9..0910a66b 100644 --- a/src/main/java/com/github/crashdemons/playerheads/VanillaSkullType.java +++ b/src/main/java/com/github/crashdemons/playerheads/VanillaSkullType.java @@ -30,6 +30,8 @@ private static class Mappings{ } VanillaSkullType(Material mat, Material wallMat){ + material=mat; + wallMaterial=wallMat; Mappings.skullTypeByMaterial.put(mat, this); Mappings.skullTypeByMaterial.put(wallMat, this); }