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

@@ -37,6 +37,7 @@ public class Dye extends MaterialData implements Colorable {
*
* @return DyeColor of this dye
*/
@Override
public DyeColor getColor() {
return DyeColor.getByDyeData(getData());
}
@@ -46,6 +47,7 @@ public class Dye extends MaterialData implements Colorable {
*
* @param color New color of this dye
*/
@Override
public void setColor(DyeColor color) {
setData(color.getDyeData());
}