9
0
mirror of https://github.com/Xiao-MoMi/Custom-Crops.git synced 2025-12-20 07:29:27 +00:00

Update toString()

This commit is contained in:
XiaoMoMi
2024-09-15 17:26:57 +08:00
parent 9ee2478047
commit d29cbff124
2 changed files with 4 additions and 4 deletions

View File

@@ -114,7 +114,7 @@ public class SynchronizedCompoundMap {
@Override @Override
public String toString() { public String toString() {
return compoundMapToString("BlockData", compoundMap); return compoundMapToString("NBTData", compoundMap);
} }
public String asString() { public String asString() {

View File

@@ -75,9 +75,9 @@ public class CustomCropsBlockStateImpl implements CustomCropsBlockState {
@Override @Override
public String toString() { public String toString() {
return owner.type().asString() + return "CustomCropsBlockState{" + owner.type().asString() +
"[" + compoundMap + "[" + compoundMap.asString() +
']'; "]" + "}";
} }
@Override @Override