Skip to content

Commit

Permalink
Fix a small oversight in the API design.
Browse files Browse the repository at this point in the history
  • Loading branch information
aadnk committed Jan 10, 2013
1 parent 898eb40 commit 29709c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ public NbtCompound getCompoundOrDefault(String key) {
* @return This current compound, for chaining.
*/
@Override
public NbtCompound put(WrappedCompound compound) {
public NbtCompound put(NbtCompound compound) {
getValue().put(compound.getName(), compound);
return this;
}
Expand Down

0 comments on commit 29709c4

Please sign in to comment.