From 27ad25bb810e2c2a22f28af84f287cf43d722fa2 Mon Sep 17 00:00:00 2001 From: Wolfstorm Date: Sat, 28 Aug 2021 12:15:29 +0200 Subject: [PATCH] [CORE] Hotfix for Permission Node for ItemFrame Visibility not being set properly Signed-off-by: Wolfstorm Signed-off-by: Wolfstorm --- pom.xml | 2 +- .../java/io/github/rypofalem/armorstandeditor/PlayerEditor.java | 2 +- src/main/resources/plugin.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 4cdc5fa4..e0ebd4fa 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ io.github.rypofalem.armorstandeditor armorstandeditor jar - 1.17-30 + 1.17-29.1 armorstandeditor http://maven.apache.org diff --git a/src/main/java/io/github/rypofalem/armorstandeditor/PlayerEditor.java b/src/main/java/io/github/rypofalem/armorstandeditor/PlayerEditor.java index 96e80124..228c2786 100644 --- a/src/main/java/io/github/rypofalem/armorstandeditor/PlayerEditor.java +++ b/src/main/java/io/github/rypofalem/armorstandeditor/PlayerEditor.java @@ -345,7 +345,7 @@ void toggleVisible(ArmorStand armorStand) { } void toggleItemFrameVisible(ItemFrame itemFrame) { - if (!getPlayer().hasPermission("asedit.invisble")) return; //Changed to Invisible, better that visibility is all under same permission node + if (!getPlayer().hasPermission("asedit.invisible")) return; //Changed to Invisible, better that visibility is all under same permission node //Potential for OnInteractEvent for ItemFrame to Disable Interaction itemFrame.setVisible(!itemFrame.isVisible()); } diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index a5e1360e..d1c6d46f 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,6 +1,6 @@ name: ArmorStandEditor main: io.github.rypofalem.armorstandeditor.ArmorStandEditorPlugin -version: 1.17-30 +version: 1.17-29.1 api-version: "1.13" website: rypofalem.github.io author: Wolfstorm