Skip to content

Commit

Permalink
Quick, before we get sued
Browse files Browse the repository at this point in the history
  • Loading branch information
enjarai committed Jul 2, 2024
1 parent c0b1313 commit 5b55dd5
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/main/java/dev/enjarai/trickster/spell/tricks/Tricks.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import com.mojang.serialization.Lifecycle;
import dev.enjarai.trickster.Trickster;
import dev.enjarai.trickster.spell.Pattern;
import dev.enjarai.trickster.spell.tricks.func.ClojureTrick;
import dev.enjarai.trickster.spell.tricks.func.ClosureTrick;
import dev.enjarai.trickster.spell.tricks.func.ExecuteTrick;
import dev.enjarai.trickster.spell.tricks.func.LoadArgumentTrick;
import dev.enjarai.trickster.spell.tricks.basic.*;
Expand Down Expand Up @@ -39,7 +39,7 @@ public RegistryEntry.Reference<Trick> add(RegistryKey<Trick> key, Trick value, R

// Functions
public static final ExecuteTrick EXECUTE = register("execute", new ExecuteTrick());
public static final ClojureTrick CLOJURE = register("clojure", new ClojureTrick());
public static final ClosureTrick CLOSURE = register("closure", new ClosureTrick());
public static final LoadArgumentTrick LOAD_ARGUMENT_1 = register("load_argument_1", new LoadArgumentTrick(Pattern.of(4, 1), 0));
public static final LoadArgumentTrick LOAD_ARGUMENT_2 = register("load_argument_2", new LoadArgumentTrick(Pattern.of(4, 2), 1));
public static final LoadArgumentTrick LOAD_ARGUMENT_3 = register("load_argument_3", new LoadArgumentTrick(Pattern.of(4, 5), 2));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
import java.util.HashMap;
import java.util.List;

public class ClojureTrick extends Trick {
public ClojureTrick() {
public class ClosureTrick extends Trick {
public ClosureTrick() {
super(Pattern.of(5, 8, 7, 6, 3, 0, 1));
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/assets/trickster/lang/en_us.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ trickster:
delete_spell_circle: Cancellation Ploy

execute: Grand Stratagem
clojure: Clojure Stratagem
closure: Closure Stratagem
load_argument_1: Primary Delusion
load_argument_2: Secondary Delusion
load_argument_3: Tertiary Delusion
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ providing it with all other passed in fragments as arguments.

;;;;;

<|glyph@trickster:templates|trick-id=trickster:clojure,title=Clojure Stratagem|>
<|glyph@trickster:templates|trick-id=trickster:closure,title=Closure Stratagem|>

spell, [spell, any]... -> spell

Expand Down

1 comment on commit 5b55dd5

@BasiqueEvangelist
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kotlin Stratagem when

Please sign in to comment.