Fix typo
This commit is contained in:
parent
0f8d9f1353
commit
fc5ccc35dd
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue