From 65a31c93082836ea5765ba6d06d1f26f762be15e Mon Sep 17 00:00:00 2001 From: tastybento Date: Thu, 30 Jan 2020 09:24:16 -0800 Subject: [PATCH 1/4] Version 1.9.2 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 6c00176..4b3d81a 100644 --- a/pom.xml +++ b/pom.xml @@ -64,7 +64,7 @@ -LOCAL - 1.9.1 + 1.9.2 From 1bc354e49b6644a37f3bede16b3a35023b0b586a Mon Sep 17 00:00:00 2001 From: tastybento Date: Thu, 30 Jan 2020 09:25:42 -0800 Subject: [PATCH 2/4] Adds null check for nether and end worlds https://github.com/BentoBoxWorld/Limits/issues/64 --- src/main/java/world/bentobox/limits/commands/LimitPanel.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/world/bentobox/limits/commands/LimitPanel.java b/src/main/java/world/bentobox/limits/commands/LimitPanel.java index 785b874..c3d3613 100644 --- a/src/main/java/world/bentobox/limits/commands/LimitPanel.java +++ b/src/main/java/world/bentobox/limits/commands/LimitPanel.java @@ -141,13 +141,13 @@ public class LimitPanel { .filter(e -> e.getType().equals(ent)) .filter(e -> island.inIslandSpace(e.getLocation())).count(); // Nether - if (addon.getPlugin().getIWM().isNetherIslands(island.getWorld())) { + if (addon.getPlugin().getIWM().isNetherIslands(island.getWorld()) && addon.getPlugin().getIWM().getNetherWorld(island.getWorld()) != null) { count += addon.getPlugin().getIWM().getNetherWorld(island.getWorld()).getEntities().stream() .filter(e -> e.getType().equals(ent)) .filter(e -> island.inIslandSpace(e.getLocation())).count(); } // End - if (addon.getPlugin().getIWM().isEndIslands(island.getWorld())) { + if (addon.getPlugin().getIWM().isEndIslands(island.getWorld()) && addon.getPlugin().getIWM().getEndWorld(island.getWorld()) != null) { count += addon.getPlugin().getIWM().getEndWorld(island.getWorld()).getEntities().stream() .filter(e -> e.getType().equals(ent)) .filter(e -> island.inIslandSpace(e.getLocation())).count(); From 40a3b3974853137549f413f946ea346f30df7f94 Mon Sep 17 00:00:00 2001 From: tastybento Date: Thu, 30 Jan 2020 10:25:14 -0800 Subject: [PATCH 3/4] Czech translation. Credit @Polda18 --- src/main/resources/locales/cs.yml | 35 +++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 src/main/resources/locales/cs.yml diff --git a/src/main/resources/locales/cs.yml b/src/main/resources/locales/cs.yml new file mode 100644 index 0000000..3723ad0 --- /dev/null +++ b/src/main/resources/locales/cs.yml @@ -0,0 +1,35 @@ +########################################################################################### +# This is a YML file. Be careful when editing. Check your edits in a YAML checker like # +# the one at http://yaml-online-parser.appspot.com # +# # +# Translation by: CZghost # +########################################################################################### + +block-limits: + hit-limit: "&c[material] omezen na [number]!" +entity-limits: + hit-limit: "&cSpawnování [entity] omezeno na [number]!" +limits: + panel-title: "Omezení ostrovů" + + +admin: + limits: + main: + parameters: "" + description: "ukázat omezení ostrova hráče" + calc: + parameters: "" + description: "přepočítat omezení ostrova hráče" + finished: "&aPřepočítání ostrova úspěšně dokončeno!" + +island: + limits: + description: "ukázat omezení tvého ostrova" + max-color: "&c" + regular-color: "&a" + block-limit-syntax: "[number]/[limit]" + no-limits: "&cTento svět nemá žádné omezení" + recount: + description: "přepočítá omezení tvého ostrova" + From 8e21458a7ad160043f4235a3fe293ccc4a5267ba Mon Sep 17 00:00:00 2001 From: tastybento Date: Fri, 7 Feb 2020 12:02:57 -0800 Subject: [PATCH 4/4] Updated ReadMe to show unlimitable items --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/README.md b/README.md index a513cd6..70d12c0 100644 --- a/README.md +++ b/README.md @@ -56,4 +56,28 @@ Usage permissions are (put the gamemode name, e.g. acidisland at the front): default: op ``` +## Items that cannot be limited +Some items cannot be limited (right now). The reasons are usually because there are too many ways to remove the item without it being tracked. If you are a programmer and can work out how to fix these, then please submit a PR! +* Primed TNT +* Evoker Fangs +* Llama Spit +* Dragon Fireball +* Area Effect Cloud +* Ender signal +* Small fireball +* Fireball +* Thrown Exp Bottle +* Shulker Bullet +* Wither Skull +* Tridents +* Arrows +* Spectral Arrows +* Snowballs +* Eggs +* Leashes +* Ender crystals +* Ender pearls +* Ender dragon +* Item frames +* Paintings