From 54f4930b7cd6600236f396fef373e1a237e74d01 Mon Sep 17 00:00:00 2001 From: William Blake Galbreath Date: Mon, 27 May 2019 17:35:39 -0500 Subject: [PATCH] MC-114618 - Fix EntityAreaEffectCloud from going negative size diff --git a/src/main/java/net/minecraft/server/EntityAreaEffectCloud.java b/src/main/java/net/minecraft/server/EntityAreaEffectCloud.java index 70c2820463..8bbbe8505f 100644 --- a/src/main/java/net/minecraft/server/EntityAreaEffectCloud.java +++ b/src/main/java/net/minecraft/server/EntityAreaEffectCloud.java @@ -163,6 +163,12 @@ public class EntityAreaEffectCloud extends Entity { super.tick(); boolean flag = this.l(); float f = this.getRadius(); + // Paper start - fix MC-114618 + if (f < 0.0F) { + this.die(); + return; + } + // Paper end if (this.world.isClientSide) { ParticleParam particleparam = this.getParticle(); -- 2.22.0