v0.2.4b: crash fix and tweaks to bee AI

This commit is contained in:
Evan Debenham
2015-02-28 04:46:32 -05:00
parent d68d70ca76
commit 5950244f9f
2 changed files with 1 additions and 8 deletions
@@ -284,12 +284,6 @@ public class Heap implements Bundlable {
//stop processing current explosion, it will be replaced by the new one.
return;
} else if (item instanceof Honeypot.ShatteredPot){
//need to let the bee know the pot is being destroyed.
((Honeypot.ShatteredPot) item).goAway();
items.remove( item );
//unique and upgraded items can endure the blast
} else if (!(item.level > 0 || item.unique))
items.remove( item );