This commit is contained in:
Shadowfacts 2018-12-24 16:38:52 -05:00
parent 0f8d9f1353
commit fc5ccc35dd
Signed by: shadowfacts
GPG Key ID: 94A5AB95422746E5
2 changed files with 2 additions and 2 deletions

View File

@ -104,7 +104,7 @@ public class MultipartContainerBlockEntity extends BlockEntity implements Client
continue;
}
CompoundTag partStateTag = tag.getCompound(slot.name());
MultipartState state = MultipartHelper.deserializeBlockState(partStateTag);
MultipartState state = MultipartHelper.deserializeMultipartState(partStateTag);
parts.put(slot, state);
}
}

View File

@ -93,7 +93,7 @@ public class MultipartHelper {
return property.getValueAsString(state.get(property));
}
public static MultipartState deserializeBlockState(CompoundTag tag) {
public static MultipartState deserializeMultipartState(CompoundTag tag) {
if (!tag.containsKey("Name", 8)) {
return null;
} else {