forked from MagicBane/Server
NPC are immune to all
This commit is contained in:
@@ -974,6 +974,7 @@ public class NPC extends AbstractCharacter {
|
|||||||
|
|
||||||
//apply NPC rune effects
|
//apply NPC rune effects
|
||||||
NPCManager.applyRunesForNPC(this);
|
NPCManager.applyRunesForNPC(this);
|
||||||
|
this.resists.setImmuneToAll(true);
|
||||||
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
Logger.error(e.getMessage());
|
Logger.error(e.getMessage());
|
||||||
|
|||||||
Reference in New Issue
Block a user