public class ProxyDefineCommandsEvent extends TargetedEvent
Command.hasPermission(CommandSender)
properly in favor of this event.| Constructor and Description |
|---|
ProxyDefineCommandsEvent(Connection sender,
Connection receiver,
Map<String,Command> commands) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
Map<String,Command> |
getCommands()
The map of commands to be sent to the player
|
int |
hashCode() |
String |
toString() |
getReceiver, getSenderpublic ProxyDefineCommandsEvent(Connection sender, Connection receiver, Map<String,Command> commands)
public String toString()
toString in class TargetedEventpublic boolean equals(Object o)
equals in class TargetedEventprotected boolean canEqual(Object other)
canEqual in class TargetedEventpublic int hashCode()
hashCode in class TargetedEventCopyright © 2015–2021 WaterfallMC. All rights reserved.