Fix some merge issues

This commit is contained in:
Jesse Boyd
2018-08-14 00:38:33 +10:00
parent 025360753f
commit 0632a9ce96
5 changed files with 27 additions and 11 deletions

View File

@ -135,12 +135,24 @@ public class CompoundTagBuilder {
/**
* Put the given key and value into the compound tag as a
* {@code LongTag}.
* {@code LongArrayTag}.
*
* @param key they key
* @param value the value
* @return this object
*/
public CompoundTagBuilder putLongArray(String key, long[] value) {
return put(key, new LongArrayTag(value));
}
/**
* Put the given key and value into the compound tag as a
* {@code LongTag}.
*
* @param key they key
* @param value the value
* @return this object
*/
public CompoundTagBuilder putLong(String key, long value) {
return put(key, new LongTag(value));
}