Skip to content

Commit

Permalink
fix bad interact script copypasta
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Sep 12, 2019
1 parent c80e35d commit 3539eb6
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -104,10 +104,10 @@ public boolean parse(NPCTag npc, PlayerTag player, InteractScriptContainer scrip
}
ScriptQueue queue;
if (speedTicks > 0) {
queue = new TimedQueue(script.getName()).setSpeed(speedTicks).addEntries(entries);
queue = new TimedQueue(script.getName()).setSpeed(speedTicks);
}
else {
queue = new InstantQueue(script.getName()).addEntries(entries);
queue = new InstantQueue(script.getName());
}
// Add all entries to set it up
queue.addEntries(entries);
Expand Down

0 comments on commit 3539eb6

Please sign in to comment.