Fix a small oversight in the API design.
Dieser Commit ist enthalten in:
Ursprung
898eb405f0
Commit
29709c4159
@ -272,7 +272,7 @@ public interface NbtCompound extends NbtBase<Map<String, NbtBase<?>>>, Iterable<
|
|||||||
* @param compound - the compound value.
|
* @param compound - the compound value.
|
||||||
* @return This current compound, for chaining.
|
* @return This current compound, for chaining.
|
||||||
*/
|
*/
|
||||||
public abstract NbtCompound put(WrappedCompound compound);
|
public abstract NbtCompound put(NbtCompound compound);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Retrieve the NBT list value of an entry identified by a given key.
|
* Retrieve the NBT list value of an entry identified by a given key.
|
||||||
|
@ -524,7 +524,7 @@ class WrappedCompound implements NbtWrapper<Map<String, NbtBase<?>>>, Iterable<N
|
|||||||
* @return This current compound, for chaining.
|
* @return This current compound, for chaining.
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public NbtCompound put(WrappedCompound compound) {
|
public NbtCompound put(NbtCompound compound) {
|
||||||
getValue().put(compound.getName(), compound);
|
getValue().put(compound.getName(), compound);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren