diff options
author | md_5 <git@md-5.net> | 2018-12-06 10:00:00 +1100 |
---|---|---|
committer | md_5 <git@md-5.net> | 2018-12-06 10:00:00 +1100 |
commit | aa36c8417bda9bdd4812c6094895677654cff83d (patch) | |
tree | f28adbc34ebef8ef5816c95597927b4c72ba2797 /nms-patches/EntityAreaEffectCloud.patch | |
parent | 20fc5bea2c51de8d5239b68d83e878896b8ff505 (diff) | |
download | craftbukkit-aa36c8417bda9bdd4812c6094895677654cff83d.tar craftbukkit-aa36c8417bda9bdd4812c6094895677654cff83d.tar.gz craftbukkit-aa36c8417bda9bdd4812c6094895677654cff83d.tar.lz craftbukkit-aa36c8417bda9bdd4812c6094895677654cff83d.tar.xz craftbukkit-aa36c8417bda9bdd4812c6094895677654cff83d.zip |
Mappings Update
Diffstat (limited to 'nms-patches/EntityAreaEffectCloud.patch')
-rw-r--r-- | nms-patches/EntityAreaEffectCloud.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nms-patches/EntityAreaEffectCloud.patch b/nms-patches/EntityAreaEffectCloud.patch index a3cc245e..d4ecf157 100644 --- a/nms-patches/EntityAreaEffectCloud.patch +++ b/nms-patches/EntityAreaEffectCloud.patch @@ -32,7 +32,7 @@ + // CraftBukkit end + public int getColor() { - return ((Integer) this.getDataWatcher().get(EntityAreaEffectCloud.c)).intValue(); + return (Integer) this.getDataWatcher().get(EntityAreaEffectCloud.c); } @@ -245,6 +265,7 @@ if (!list.isEmpty()) { @@ -57,7 +57,7 @@ + if (entity instanceof CraftLivingEntity) { + EntityLiving entityliving = ((CraftLivingEntity) entity).getHandle(); + // CraftBukkit end - this.h.put(entityliving, Integer.valueOf(this.ticksLived + this.reapplicationDelay)); + this.h.put(entityliving, this.ticksLived + this.reapplicationDelay); Iterator iterator3 = arraylist.iterator(); @@ -263,7 +295,7 @@ |