9
0
mirror of https://github.com/Xiao-MoMi/Custom-Crops.git synced 2025-12-19 15:09:25 +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
public String toString() {
return compoundMapToString("BlockData", compoundMap);
return compoundMapToString("NBTData", compoundMap);
}
public String asString() {

View File

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