Skip to content

Commit

Permalink
fix entity targets event, some meta
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Jan 1, 2020
1 parent 8ee4711 commit fe282c3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Expand Up @@ -96,7 +96,7 @@ public boolean applyDetermination(ScriptPath path, ObjectTag determinationObj) {

@Override
public ScriptEntryData getScriptEntryData() {
return new BukkitScriptEntryData(entity);
return new BukkitScriptEntryData(target);
}

@Override
Expand Down
Expand Up @@ -384,7 +384,7 @@ public static void registerTags() {
return new LocationTag(object.getWorld().getSpawnLocation());
});

// <-- [tag]
// <--[tag]
// @attribute <WorldTag.world_type>
// @returns ElementTag
// @description
Expand Down
Expand Up @@ -56,7 +56,7 @@ public class ShootCommand extends AbstractCommand implements Listener, Holdable
//
// Use the 'script:<name>' argument to run a task script when the projectiles land.
// When that script runs, the following definitions will be available:
// <[shot_entities]> for all shot entities,
// <[shot_entities]> for all shot entities (as in, the projectiles),
// <[last_entity]> for the last one (The controlling entity),
// <[location]> for the last known location of the last shot entity, and
// <[hit_entities]> for a list of any entities that were hit by fired projectiles.
Expand All @@ -68,7 +68,7 @@ public class ShootCommand extends AbstractCommand implements Listener, Holdable
// The shoot command is ~waitable. Refer to <@link language ~waitable>.
//
// @Tags
// <entry[saveName].shot_entities> returns a ListTag of entities that were shot.
// <entry[saveName].shot_entities> returns a ListTag of entities that were shot (as in, the projectiles).
//
// @Usage
// Use to shoot an arrow from the NPC to perfectly hit the player.
Expand Down

0 comments on commit fe282c3

Please sign in to comment.