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, getSender
public ProxyDefineCommandsEvent(Connection sender, Connection receiver, Map<String,Command> commands)
public String toString()
toString
in class TargetedEvent
public boolean equals(Object o)
equals
in class TargetedEvent
protected boolean canEqual(Object other)
canEqual
in class TargetedEvent
public int hashCode()
hashCode
in class TargetedEvent
Copyright © 2015–2019 WaterfallMC. All rights reserved.