From 46d0b50c5280fee169848ce90109b4213679e5fe Mon Sep 17 00:00:00 2001 From: GJ Date: Mon, 12 Mar 2012 02:28:24 -0400 Subject: [PATCH] Fix endless loop with FoodLevelChange events. --- src/main/java/com/gmail/nossr50/listeners/mcEntityListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/listeners/mcEntityListener.java b/src/main/java/com/gmail/nossr50/listeners/mcEntityListener.java index 599e90795..947e1660b 100644 --- a/src/main/java/com/gmail/nossr50/listeners/mcEntityListener.java +++ b/src/main/java/com/gmail/nossr50/listeners/mcEntityListener.java @@ -260,7 +260,7 @@ public class mcEntityListener implements Listener { break; default: - break; + return; } for (int i = 200; i <= 1000; i += rankChange) {