Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

Commit

Permalink
FIX ERROR
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Oct 5, 2017
1 parent 9969bae commit 1154110
Showing 1 changed file with 9 additions and 3 deletions.
Expand Up @@ -87,9 +87,15 @@ public HashMap<String, AbstractTagObject> getDefinitions(ScriptEventData data) {
defs.put("args", args);
defs.put("raw_args", raw_args);
defs.put("source", source);
defs.put("player", player);
defs.put("location", location);
defs.put("entity", entity);
if (player != null) {
defs.put("player", player);
}
if (location != null) {
defs.put("location", location);
}
if (entity != null) {
defs.put("entity", entity);
}
return defs;
}

Expand Down

0 comments on commit 1154110

Please sign in to comment.