Merge remote-tracking branch 'origin/breaking' into breaking

# Conflicts:
#	Core/src/main/java/com/github/intellectualsites/plotsquared/plot/listener/WEExtent.java
This commit is contained in:
matt
2019-02-21 21:18:03 -05:00
8 changed files with 32 additions and 28 deletions

View File

@ -154,7 +154,8 @@ public class NbtFactory {
* @return The decoded NBT compound.
* @throws IOException If anything went wrong.
*/
@SuppressWarnings({"IOResourceOpenedButNotSafelyClosed", "resource"}) public static NbtCompound fromStream(InputStream input, StreamOptions option)
@SuppressWarnings({"IOResourceOpenedButNotSafelyClosed", "resource"})
public static NbtCompound fromStream(InputStream input, StreamOptions option)
throws IOException {
DataInputStream data = null;
boolean suppress = true;
@ -527,7 +528,9 @@ public class NbtFactory {
*
* @author Kristian
*/
public enum StreamOptions {NO_COMPRESSION, GZIP_COMPRESSION,}
public enum StreamOptions {
NO_COMPRESSION, GZIP_COMPRESSION,
}
private enum NbtType {