Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
fixed compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinsdar committed Dec 3, 2023
1 parent 1768ddf commit 9119a15
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ public boolean onInteract(PlayerEntity player, Hand hand, Direction side, @Nulla
}

@Override
public List<String> getInfo() {
List<String> info = super.getInfo();
public List<String> getInfo(boolean simple) {
List<String> info = super.getInfo(simple);
energyHandler.ifPresent(h -> {
info.add("Amperage Out: " + h.getOutputAmperage());
});
Expand Down

0 comments on commit 9119a15

Please sign in to comment.