More work towards relocating OnlinePlayer context

This context was conflicting with each other over multiple
ACF modules, so if someone wanted to use multiple ACF's in same jar,
it would clash and not work.

The PR to move these was incomplete and this finishes fixing the
context handlers to support new and old.
This commit is contained in:
Aikar
2019-02-23 21:23:35 -05:00
parent 5c1d446c19
commit 17d89ad216
13 changed files with 128 additions and 102 deletions
@@ -33,7 +33,7 @@ import co.aikar.commands.annotation.Dependency;
import co.aikar.commands.annotation.Optional;
import co.aikar.commands.annotation.Subcommand;
import co.aikar.commands.annotation.Values;
import co.aikar.commands.contexts.OnlinePlayer;
import co.aikar.commands.bukkit.contexts.OnlinePlayer;
import org.bukkit.World;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;