Skip to content

Commit

Permalink
Tiny mistake in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ScoreUnder committed Jul 7, 2012
1 parent 41cce06 commit 1220b73
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ private void changeDoorStates(boolean allowDoorToOpen, Block... doors) {
// Get the top half of the door
Block topHalf = door.getRelative(BlockFace.UP);

// Now xor both data values with 0x8, the flag that states if the door is open
// Now xor both data values with 0x4, the flag that states if the door is open
door.setData((byte) (door.getData() ^ 0x4));

// Only change the block above it if it is something we can open or close
Expand Down

0 comments on commit 1220b73

Please sign in to comment.