Add Override annotations where appropriate

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot
2019-04-28 11:37:52 +10:00
parent d66310a2f1
commit 82854b7bd7
176 changed files with 503 additions and 0 deletions

View File

@@ -61,6 +61,7 @@ public class Bed extends MaterialData implements Directional {
* Set which direction the head of the bed is facing. Note that this will
* only affect one of the two blocks the bed is made of.
*/
@Override
public void setFacingDirection(BlockFace face) {
byte data;
@@ -94,6 +95,7 @@ public class Bed extends MaterialData implements Directional {
*
* @return the direction the head of the bed is facing
*/
@Override
public BlockFace getFacing() {
byte data = (byte) (getData() & 0x7);