Fix a small oversight in the API design.

This commit is contained in:
Kristian S. Stangeland 2013-01-10 01:26:45 +01:00
parent 898eb405f0
commit 29709c4159
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -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;
}