summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorBlackHole <black-hole@live.com>2016-03-20 22:16:06 +0100
committerBlackHole <black-hole@live.com>2016-03-20 22:16:06 +0100
commit3c2337eebff5dd9ae2497b751586def2571c9470 (patch)
treef0639e82dc6fb85d2be9b9005348d019b5a32158 /src/main
parentb3f619f3c5ceb503c3649fe16a36b3fc90326a44 (diff)
downloadbukkit-3c2337eebff5dd9ae2497b751586def2571c9470.tar
bukkit-3c2337eebff5dd9ae2497b751586def2571c9470.tar.gz
bukkit-3c2337eebff5dd9ae2497b751586def2571c9470.tar.lz
bukkit-3c2337eebff5dd9ae2497b751586def2571c9470.tar.xz
bukkit-3c2337eebff5dd9ae2497b751586def2571c9470.zip
Fix StackOverflowError with AreaEffectCloudApplyEvent.getEntity()
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/bukkit/event/entity/AreaEffectCloudApplyEvent.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/event/entity/AreaEffectCloudApplyEvent.java b/src/main/java/org/bukkit/event/entity/AreaEffectCloudApplyEvent.java
index bf2e7513..849b69fc 100644
--- a/src/main/java/org/bukkit/event/entity/AreaEffectCloudApplyEvent.java
+++ b/src/main/java/org/bukkit/event/entity/AreaEffectCloudApplyEvent.java
@@ -27,7 +27,7 @@ public class AreaEffectCloudApplyEvent extends EntityEvent {
@Override
public AreaEffectCloud getEntity() {
- return (AreaEffectCloud) getEntity();
+ return (AreaEffectCloud) entity;
}
/**