From 952d2b1541d86004c7f709dd15886497523c62b9 Mon Sep 17 00:00:00 2001 From: Sara <131270036+Sara424242@users.noreply.github.com> Date: Sat, 28 Sep 2024 01:45:30 +0200 Subject: [PATCH] fixed name for dropNut function (#176) --- .../informatik/fius/jvk/provided/entity/Totoro.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/src/main/java/de/unistuttgart/informatik/fius/jvk/provided/entity/Totoro.java b/project/src/main/java/de/unistuttgart/informatik/fius/jvk/provided/entity/Totoro.java index 3f668411..a6433a46 100644 --- a/project/src/main/java/de/unistuttgart/informatik/fius/jvk/provided/entity/Totoro.java +++ b/project/src/main/java/de/unistuttgart/informatik/fius/jvk/provided/entity/Totoro.java @@ -61,7 +61,7 @@ public void collectNut() { * when Totoro has no nuts */ @InspectionMethod() - public void dropCoin() { + public void dropNut() { if (!this.canDropNut()) throw new TotoroIsHungryException(); this.drop(this.getCurrentlyDroppableEntities(Nut.class, true).get(0)); }