mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-17 02:04:04 +00:00
I guarantee this is broken. Start some form of string ID for blocks
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user