Skip to content

Commit

Permalink
minor meta update and procedural items queue name fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed May 30, 2022
1 parent a19820b commit 4329ee2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -23,7 +23,7 @@ public class EntityExitsPortalScriptEvent extends BukkitScriptEvent implements L
//
// @Location true
//
// @Triggers when an entity exits a portal.
// @Triggers when an entity exits a portal. This uses Spigot 'EntityPortalExitEvent' which seems to no longer be called on modern server versions.
//
// @Context
// <context.entity> returns the EntityTag.
Expand Down
Expand Up @@ -229,7 +229,7 @@ public InventoryTag getInventoryFrom(TagContext context) {
if (containsScriptSection("procedural items")) {
List<ScriptEntry> entries = getEntries(context.getScriptEntryData(), "procedural items");
if (!entries.isEmpty()) {
InstantQueue queue = new InstantQueue("INV_SCRIPT_ITEM_PROC");
InstantQueue queue = new InstantQueue(getName());
queue.addEntries(entries);
if (contains("definitions", Map.class)) {
YamlConfiguration section = getConfigurationSection("definitions");
Expand Down

0 comments on commit 4329ee2

Please sign in to comment.