V0.2.1b: Corrected bug with wandmaker and corpse dust.
This commit is contained in:
parent
1eb0136dab
commit
fff98d8bd1
|
@ -283,6 +283,7 @@ public class Wandmaker extends Mob.NPC {
|
||||||
|
|
||||||
if (candidates.size() > 0) {
|
if (candidates.size() > 0) {
|
||||||
Random.element( candidates ).drop( new CorpseDust() );
|
Random.element( candidates ).drop( new CorpseDust() );
|
||||||
|
given = true;
|
||||||
} else {
|
} else {
|
||||||
int pos = Dungeon.level.randomRespawnCell();
|
int pos = Dungeon.level.randomRespawnCell();
|
||||||
while (Dungeon.level.heaps.get( pos ) != null) {
|
while (Dungeon.level.heaps.get( pos ) != null) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user