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 ba3a14e commit e4e26ea
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 "+ armorStand.isInvulnerable() + " near player: " + getPlayer().getDisplayName());
debug.log("Making an ArmorStand vulnerable/invulnerable near player: " + getPlayer().getDisplayName());
armorStand.setInvulnerable(!armorStand.isInvulnerable());
sendMessage("toggleinvulnerability", String.valueOf(armorStand.isInvulnerable()));
} else {
Expand Down

0 comments on commit e4e26ea

Please sign in to comment.