#1275: Add internal ItemType and BlockType, delegate Material methods to them
By: Jishuna <joshl5324@gmail.com> Also-by: Bjarne Koll <lynxplay101@gmail.com> Also-by: DerFrZocker <derrieple@gmail.com> Also-by: md_5 <git@md-5.net>
This commit is contained in:
@@ -192,7 +192,7 @@ public final class CraftLegacy {
|
||||
}
|
||||
}
|
||||
|
||||
if (mappedData == null && material.isBlock()) {
|
||||
if (mappedData == null) {
|
||||
// Try exact match first
|
||||
IBlockData iblock = materialToData.get(materialData);
|
||||
if (iblock != null) {
|
||||
|
||||
Reference in New Issue
Block a user