Skip to content

Commit

Permalink
Update SneakingTrait
Browse files Browse the repository at this point in the history
  • Loading branch information
Morphan1 committed Mar 2, 2016
1 parent 72f50de commit b6a5a0e
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -44,7 +44,7 @@ public void sneak() {
return;
}

// TODO: 1.9 eh.getDataWatcher().watch(0, (byte) 0x02);
eh.setSneaking(true);

sneaking = true;
}
Expand All @@ -56,7 +56,7 @@ public void stand() {
// Notated in SittingTrait
DenizenAPI.getDenizenNPC(npc).action("stand", null);

// TODO: 1.9 eh.getDataWatcher().watch(0, (byte) 0x00);
eh.setSneaking(false);

sneaking = false;
}
Expand Down

0 comments on commit b6a5a0e

Please sign in to comment.