Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### Eclipse Workspace Patch 1.0
- #P L2J_Mobius_Helios
- Index: dist/game/data/scripts/ai/areas/SilentValley/SilentValley.java
- ===================================================================
- --- dist/game/data/scripts/ai/areas/SilentValley/SilentValley.java (revision 2036)
- +++ dist/game/data/scripts/ai/areas/SilentValley/SilentValley.java (working copy)
- @@ -153,7 +153,7 @@
- if (creature.isPlayable())
- {
- final L2PcInstance player = (isSummon) ? ((L2Summon) creature).getOwner() : creature.getActingPlayer();
- - if ((npc.getId() == GUARD1) || (npc.getId() == GUARD2))
- + if ((npc != null) && ((npc.getId() == GUARD1) || (npc.getId() == GUARD2)))
- {
- npc.setTarget(player);
- npc.doCast(BLAZE.getSkill());
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement