Many javadoc fixes thanks to Celtic Minstrel

This commit is contained in:
Dinnerbone
2011-09-25 02:56:40 +01:00
parent 9a5665137d
commit e6c273e8b0
78 changed files with 380 additions and 335 deletions

View File

@@ -37,7 +37,7 @@ public class Door extends MaterialData implements Directional {
/**
* Configure this door to be either open or closed;
* @param isOpen
* @param isOpen True to open the door.
*/
public void setOpen(boolean isOpen) {
setData((byte) (isOpen ? (getData() | 0x4) : (getData() & ~0x4)));
@@ -52,7 +52,7 @@ public class Door extends MaterialData implements Directional {
/**
* Configure this part of the door to be either the top or the bottom half;
* @param isTopHalf
* @param isTopHalf True to make it the top half.
*/
public void setTopHalf(boolean isTopHalf) {
setData((byte) (isTopHalf ? (getData() | 0x8) : (getData() & ~0x8)));