Fix typo
This commit is contained in:
parent
0f8d9f1353
commit
fc5ccc35dd
|
@ -104,7 +104,7 @@ public class MultipartContainerBlockEntity extends BlockEntity implements Client
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
CompoundTag partStateTag = tag.getCompound(slot.name());
|
CompoundTag partStateTag = tag.getCompound(slot.name());
|
||||||
MultipartState state = MultipartHelper.deserializeBlockState(partStateTag);
|
MultipartState state = MultipartHelper.deserializeMultipartState(partStateTag);
|
||||||
parts.put(slot, state);
|
parts.put(slot, state);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -93,7 +93,7 @@ public class MultipartHelper {
|
||||||
return property.getValueAsString(state.get(property));
|
return property.getValueAsString(state.get(property));
|
||||||
}
|
}
|
||||||
|
|
||||||
public static MultipartState deserializeBlockState(CompoundTag tag) {
|
public static MultipartState deserializeMultipartState(CompoundTag tag) {
|
||||||
if (!tag.containsKey("Name", 8)) {
|
if (!tag.containsKey("Name", 8)) {
|
||||||
return null;
|
return null;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue