-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FrozenActions implementation, kotlin has failed me :((
- Loading branch information
Showing
30 changed files
with
40 additions
and
736 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package com.github.frcsty; | ||
|
||
import com.github.frcsty.frozenactions.wrapper.ActionHandler; | ||
import org.bukkit.entity.Player; | ||
|
||
import java.util.Arrays; | ||
import java.util.List; | ||
|
||
public final class Handler { | ||
|
||
private final ActionHandler handler = new ActionHandler(); | ||
|
||
public void execute(final Player player, final String... actions) { | ||
handler.execute(player, Arrays.asList(actions)); | ||
} | ||
|
||
public void execute(final Player player, final List<String> actions) { | ||
handler.execute(player, actions); | ||
} | ||
|
||
} |
106 changes: 0 additions & 106 deletions
106
src/main/kotlin/com/github/frcsty/frozenjoin/action/ActionHandler.kt
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
src/main/kotlin/com/github/frcsty/frozenjoin/action/ActionHolder.kt
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
src/main/kotlin/com/github/frcsty/frozenjoin/action/actions/Action.kt
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
src/main/kotlin/com/github/frcsty/frozenjoin/action/actions/ActionbarBroadcastAction.kt
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
src/main/kotlin/com/github/frcsty/frozenjoin/action/actions/ActionbarMessageAction.kt
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
src/main/kotlin/com/github/frcsty/frozenjoin/action/actions/BroadcastAction.kt
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
src/main/kotlin/com/github/frcsty/frozenjoin/action/actions/BungeeAction.kt
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
src/main/kotlin/com/github/frcsty/frozenjoin/action/actions/CenterBroadcastAction.kt
This file was deleted.
Oops, something went wrong.
69 changes: 0 additions & 69 deletions
69
src/main/kotlin/com/github/frcsty/frozenjoin/action/actions/CenterMessageAction.kt
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
src/main/kotlin/com/github/frcsty/frozenjoin/action/actions/ConsoleCommandAction.kt
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.