mirror of
https://github.com/dmulloy2/ProtocolLib.git
synced 2024-11-28 05:35:28 +01:00
Fix a small oversight in the API design.
This commit is contained in:
parent
898eb405f0
commit
29709c4159
@ -272,7 +272,7 @@ public interface NbtCompound extends NbtBase<Map<String, NbtBase<?>>>, Iterable<
|
||||
* @param compound - the compound value.
|
||||
* @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.
|
||||
|
@ -524,7 +524,7 @@ class WrappedCompound implements NbtWrapper<Map<String, NbtBase<?>>>, Iterable<N
|
||||
* @return This current compound, for chaining.
|
||||
*/
|
||||
@Override
|
||||
public NbtCompound put(WrappedCompound compound) {
|
||||
public NbtCompound put(NbtCompound compound) {
|
||||
getValue().put(compound.getName(), compound);
|
||||
return this;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user