Skip to content

Commit

Permalink
Try add override annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
fullwall committed Jun 25, 2020
1 parent f2eaceb commit df23d2d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/net/citizensnpcs/api/trait/trait/Equipment.java
Expand Up @@ -285,6 +285,7 @@ public Entity getHolder() {
return entity;
}

@Override
public ItemStack getItem(EquipmentSlot arg0) {
switch (arg0) {
case BOOTS:
Expand Down Expand Up @@ -378,6 +379,7 @@ public void setHelmet(ItemStack arg0) {
public void setHelmetDropChance(float arg0) {
}

@Override
public void setItem(EquipmentSlot arg0, ItemStack arg1) {
switch (arg0) {
case BOOTS:
Expand Down Expand Up @@ -510,6 +512,7 @@ public Entity getHolder() {
return player;
}

@Override
public ItemStack getItem(EquipmentSlot arg0) {
switch (arg0) {
case BOOTS:
Expand Down Expand Up @@ -604,6 +607,7 @@ public void setHelmetDropChance(float chance) {
throw new UnsupportedOperationException();
}

@Override
public void setItem(EquipmentSlot arg0, ItemStack arg1) {
switch (arg0) {
case BOOTS:
Expand Down

0 comments on commit df23d2d

Please sign in to comment.