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:
@@ -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() {
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user