Skip to content

Commit

Permalink
Added Hand logic
Browse files Browse the repository at this point in the history
  • Loading branch information
finder1793 authored Dec 14, 2024
1 parent acfe798 commit 0a75817
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@ public BlockFace get(NexoFurnitureInteractEvent event) {
return event.getBlockFace();
}
}, 0);
EventValues.registerEventValue(NexoFurnitureInteractEvent.class, EquipmentSlot.class, new Getter<EquipmentSlot, NexoFurnitureInteractEvent>() {
@Override
public EquipmentSlot get(NexoFurnitureInteractEvent event) {
return event.getHand();
}
}, 0);
}

@Override
Expand Down

0 comments on commit 0a75817

Please sign in to comment.