Archiviert
13
0

Fix a small oversight in the API design.

Dieser Commit ist enthalten in:
Kristian S. Stangeland 2013-01-10 01:26:45 +01:00
Ursprung 898eb405f0
Commit 29709c4159
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen

Datei anzeigen

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

Datei anzeigen

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