added get set refuse soul stone

one may want an npc to not be able to be picked up by soul stone in any circumstance
This commit is contained in:
1whohears committed 2022-05-29 02:46:24 -05:00
1 parent 9fef65b194
commit fb0ff50994
4 files changed
+39 -12

No files matched your search

@@ -634,6 +634,16 @@ public interface ICustomNpc<T extends EntityCreature> extends IEntityLiving<T> {
*/
String getSoulStonePlayerName();
/**
* @return does this npc refuse to be taken by soul stone
*/
boolean getRefuseSoulStone();
/**
* @param refuse set if this npc refuses to be taken by soul stone
*/
void setRefuseSoulStone(boolean refuse);
/**
* @param player The player to give the item to
* @param item The item given to the player