From 3ea2d06e70195a5b50e794bf8729f03a700080db Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Sun, 22 May 2016 01:11:27 +1000 Subject: [PATCH 1/2] Closes #1124 --- .../java/com/intellectualcrafters/plot/commands/Download.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Core/src/main/java/com/intellectualcrafters/plot/commands/Download.java b/Core/src/main/java/com/intellectualcrafters/plot/commands/Download.java index b8d22a65f..ff96c96bd 100644 --- a/Core/src/main/java/com/intellectualcrafters/plot/commands/Download.java +++ b/Core/src/main/java/com/intellectualcrafters/plot/commands/Download.java @@ -55,10 +55,6 @@ public class Download extends SubCommand { return false; } if (args.length == 0 || (args.length == 1 && StringMan.isEqualIgnoreCaseToAny(args[0], "sch", "schem", "schematic"))) { - if (plot.getVolume() > 512d * 512d * 256d) { - C.SCHEMATIC_TOO_LARGE.send(plr); - return false; - } plot.addRunning(); SchematicHandler.manager.getCompoundTag(plot, new RunnableVal() { @Override From 7ae5042c32631ffdc91dafc9309113e066a6c56c Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Sun, 22 May 2016 01:16:04 +1000 Subject: [PATCH 2/2] Recover from bad data file Closes #1122 --- .../main/java/com/plotsquared/bukkit/uuid/FileUUIDHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bukkit/src/main/java/com/plotsquared/bukkit/uuid/FileUUIDHandler.java b/Bukkit/src/main/java/com/plotsquared/bukkit/uuid/FileUUIDHandler.java index c3a2fdc2b..bc6413f16 100644 --- a/Bukkit/src/main/java/com/plotsquared/bukkit/uuid/FileUUIDHandler.java +++ b/Bukkit/src/main/java/com/plotsquared/bukkit/uuid/FileUUIDHandler.java @@ -198,7 +198,7 @@ public class FileUUIDHandler extends UUIDHandlerImplementation { ExpireManager.IMP.storeDate(uuid, last); } toAdd.put(new StringWrapper(name), uuid); - } catch (IOException ignored) { + } catch (Exception ignored) { PS.debug(C.PREFIX + "&6Invalid PlayerData: " + uuid.toString() + ".dat"); } }