Skip to content

Commit

Permalink
stop notable locations creeping up in playeffect command
Browse files Browse the repository at this point in the history
  • Loading branch information
mergu committed Dec 28, 2017
1 parent 6951516 commit bbee0ee
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -238,7 +238,7 @@ public void execute(ScriptEntry scriptEntry) throws CommandExecutionException {

for (dLocation location : locations) {
// Slightly increase the location's Y so effects don't seem to come out of the ground
location.add(0, 1, 0);
location.clone().add(0, 1, 0);

// Play the Bukkit effect the number of times specified
if (effect != null) {
Expand Down

0 comments on commit bbee0ee

Please sign in to comment.