I guarantee this is broken. Start some form of string ID for blocks

This commit is contained in:
Matthew Miller
2018-01-03 15:35:51 +10:00
parent e6c6a2cfea
commit 41a80064f5
39 changed files with 349 additions and 118 deletions

View File

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