Skip to content

Commit

Permalink
[CORE] Hotfix for Permission Node for ItemFrame Visibility not being …
Browse files Browse the repository at this point in the history
…set properly

Signed-off-by: Wolfstorm <[email protected]>

Signed-off-by: Wolfstorm <[email protected]>
  • Loading branch information
Wolfieheart committed Aug 28, 2021
1 parent 4cddaf3 commit 27ad25b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>io.github.rypofalem.armorstandeditor</groupId>
<artifactId>armorstandeditor</artifactId>
<packaging>jar</packaging>
<version>1.17-30</version>
<version>1.17-29.1</version>
<name>armorstandeditor</name>
<url>http://maven.apache.org</url>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 27ad25b

Please sign in to comment.