mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-16 03:24:03 +00:00
Start work on improving the formatting system. May switch to Kashike's as Bukkit is shit
This commit is contained in:
@@ -26,6 +26,7 @@ import com.sk89q.worldedit.extension.platform.Actor;
|
||||
import com.sk89q.worldedit.internal.cui.CUIEvent;
|
||||
import com.sk89q.worldedit.session.SessionKey;
|
||||
import com.sk89q.worldedit.util.auth.AuthorizationException;
|
||||
import com.sk89q.worldedit.util.formatting.Fragment;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
@@ -91,6 +92,12 @@ public class BukkitCommandSender implements Actor {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void print(Fragment fragment) {
|
||||
// TODO Bukkit is bad and the API is somewhat lacking
|
||||
printRaw(fragment.toString());
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canDestroyBedrock() {
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user