Skip to content

Commit

Permalink
Merge pull request #26 from unnamed/universal-sender
Browse files Browse the repository at this point in the history
Make Sender annotation universal (BREAKING API)
  • Loading branch information
yusshu authored Oct 29, 2023
2 parents 67dce01 + f9f04e0 commit b493f45
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 38 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import me.fixeddev.commandflow.annotated.part.AbstractModule;
import me.fixeddev.commandflow.annotated.part.Key;
import me.fixeddev.commandflow.bukkit.annotation.Sender;
import me.fixeddev.commandflow.annotated.annotation.Sender;

import org.bukkit.GameMode;
import org.bukkit.OfflinePlayer;
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package me.fixeddev.commandflow.bungee.factory;

import me.fixeddev.commandflow.annotated.annotation.Sender;
import me.fixeddev.commandflow.annotated.part.AbstractModule;
import me.fixeddev.commandflow.annotated.part.Key;
import me.fixeddev.commandflow.bungee.annotation.Sender;
import net.md_5.bungee.api.CommandSender;
import net.md_5.bungee.api.connection.ProxiedPlayer;

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package me.fixeddev.commandflow.discord.factory;

import me.fixeddev.commandflow.annotated.annotation.Sender;
import me.fixeddev.commandflow.annotated.part.AbstractModule;
import me.fixeddev.commandflow.annotated.part.Key;
import me.fixeddev.commandflow.discord.annotation.Sender;
import net.dv8tion.jda.api.entities.Member;
import net.dv8tion.jda.api.entities.Message;
import net.dv8tion.jda.api.entities.TextChannel;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package me.fixeddev.commandflow.bukkit.annotation;
package me.fixeddev.commandflow.annotated.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
import com.velocitypowered.api.command.CommandSource;
import com.velocitypowered.api.proxy.Player;
import com.velocitypowered.api.proxy.ProxyServer;
import me.fixeddev.commandflow.annotated.annotation.Sender;
import me.fixeddev.commandflow.annotated.part.AbstractModule;
import me.fixeddev.commandflow.annotated.part.Key;
import me.fixeddev.commandflow.velocity.annotation.Sender;

public class VelocityModule extends AbstractModule {

Expand Down

0 comments on commit b493f45

Please sign in to comment.