Further BaseBlock modernisation

This commit is contained in:
Matthew Miller
2018-06-18 17:53:33 +10:00
parent 811f1d4433
commit e99190225e
61 changed files with 344 additions and 787 deletions

View File

@@ -99,7 +99,7 @@ public abstract class ArbitraryShape {
return null;
}
short newCacheEntry = (short) (material.getType().getLegacyId() | ((material.getData() + 1) << 8));
short newCacheEntry = (short) (material.getBlockType().getLegacyId() | ((material.getData() + 1) << 8));
if (newCacheEntry == 0) {
// type and data 0
newCacheEntry = -2;