mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-08-27 16:56:48 -04:00
fix for null pointer exception trick_or_treater.java
This commit is contained in:
@@ -121,7 +121,7 @@ public class trick_or_treater extends script.base_script
|
||||
return SCRIPT_CONTINUE;
|
||||
}
|
||||
String targetName = getCreatureName(target);
|
||||
if (targetName.equals("halloween_vendor"))
|
||||
if (targetName != null && targetName.equals("halloween_vendor"))
|
||||
{
|
||||
sendSystemMessage(self, event_perk.ZOZ);
|
||||
return SCRIPT_CONTINUE;
|
||||
|
||||
Reference in New Issue
Block a user