Skip to content

Commit

Permalink
[DEBUG] Fix Vulnerability message
Browse files Browse the repository at this point in the history
Signed-off-by: Wolfieheart <[email protected]>
  • Loading branch information
Wolfieheart committed Dec 31, 2024
1 parent 2488ac0 commit c0086f5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ private void toggleDisableSlots(ArmorStand armorStand) {

private void toggleInvulnerability(ArmorStand armorStand) { //See NewFeature-Request #256 for more info
if (getPlayer().hasPermission("asedit.toggleInvulnerability")) {
debug.log("Making an ArmorStand vulnerable/invulnerable (set armorStand.isInvulnerable() = '"+ armorStand.isInvulnerable() +"') near player: " + getPlayer().getDisplayName());
debug.log("Making an ArmorStand vulnerable/invulnerable (set armorStand.isInvulnerable() = '"+ !armorStand.isInvulnerable() +"') near player: " + getPlayer().getDisplayName());
armorStand.setInvulnerable(!armorStand.isInvulnerable());
sendMessage("toggleinvulnerability", String.valueOf(armorStand.isInvulnerable()));
} else {
Expand Down

0 comments on commit c0086f5

Please sign in to comment.