Expanded DungeonHooks to allow for adding of custom DungeonLoot values directly, allowing for better control over the generated items.

This commit is contained in:
LexManos 2012-09-30 01:01:00 -07:00
parent 33a6ec9a70
commit 92923a3521

View file

@ -262,7 +262,17 @@ public class DungeonHooks
return false;
}
}
public void addDungeonLoot(DungeonLoot loot)
{
dungeonLoot.add(loot);
}
public boolean removeDungeonLoot(DungeonLoot loot)
{
return dungeonLoot.remove(loot);
}
static
{
addDungeonMob("Skeleton", 100);