This commit is contained in:
Jesse Boyd 2016-11-30 15:43:23 +11:00
parent 93414d54c1
commit e7fa9e01be
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -173,12 +173,14 @@ public class BukkitHybridUtils extends HybridUtils {
}
Material material = Material.getMaterial(now);
if (material != null) {
Class<? extends MaterialData> md = material.getData();
if (md.equals(Directional.class)) {
data[i] += 8;
} else if (!md.equals(MaterialData.class)) {
data[i]++;
}
}
types.add(now);
}
}