All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dev.jorel.commandapi.commandsenders.BukkitFeedbackForwardingCommandSender Maven / Gradle / Ivy

There is a newer version: 9.5.3
Show newest version
package dev.jorel.commandapi.commandsenders;

import org.bukkit.command.CommandSender;

public class BukkitFeedbackForwardingCommandSender implements AbstractFeedbackForwardingCommandSender, BukkitCommandSender {

	private final FeedbackForwardingSender sender;
	
	public BukkitFeedbackForwardingCommandSender(FeedbackForwardingSender sender) {
		this.sender = sender;
	}
	
	@Override
	public boolean hasPermission(String permissionNode) {
		return this.sender.hasPermission(permissionNode);
	}
	
	@Override
	public boolean isOp() {
		return this.sender.isOp();
	}

	@Override
	public FeedbackForwardingSender getSource() {
		return this.sender;
	}
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy