diff --git a/src/engine/objects/PlayerCharacter.java b/src/engine/objects/PlayerCharacter.java index 6b6df9c8..b51f625c 100644 --- a/src/engine/objects/PlayerCharacter.java +++ b/src/engine/objects/PlayerCharacter.java @@ -2782,6 +2782,8 @@ public class PlayerCharacter extends AbstractCharacter { } public void setHidden(int value) { + if(value > 20) + value = 20; this.hidden = value; }