From e77bf6c127c714b6b4a425f32bb9757eef2152a9 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Mon, 7 Mar 2016 21:44:42 -0500 Subject: [PATCH] v0.3.5: fixed sheep bugs involving applying buffs to them --- .../shatteredpixeldungeon/actors/mobs/npcs/Sheep.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/npcs/Sheep.java b/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/npcs/Sheep.java index d53b00fb0..a6a0b31b2 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/npcs/Sheep.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/npcs/Sheep.java @@ -20,6 +20,7 @@ */ package com.shatteredpixel.shatteredpixeldungeon.actors.mobs.npcs; +import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Buff; import com.shatteredpixel.shatteredpixeldungeon.messages.Messages; import com.shatteredpixel.shatteredpixeldungeon.sprites.SheepSprite; import com.watabou.utils.Random; @@ -55,6 +56,10 @@ public class Sheep extends NPC { public void damage( int dmg, Object src ) { } + @Override + public void add( Buff buff ) { + } + @Override public void interact() { yell( Messages.get(this, Random.element( LINE_KEYS )) );