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:
@@ -114,7 +114,7 @@ public class SynchronizedCompoundMap {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return compoundMapToString("BlockData", compoundMap);
|
||||
return compoundMapToString("NBTData", compoundMap);
|
||||
}
|
||||
|
||||
public String asString() {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user