public class PlayerConnectEvent implements IEvent
Event fired when playerconnect occurs. Listen for this event using EventBus.register.
java.lang.Object > PlayerConnectEvent
Field Summary
world
private
World
world
Field world.
Method Detail
PlayerConnectEvent
public
public
PlayerConnectEvent
(@Nonnull final Holder holder, @Nonnull final PlayerRef playerRef, @Nullable final World world)
Method PlayerConnectEvent.
- Parameters:
@Nonnull final Holderholder@Nonnull final PlayerRefplayerRef@Nullable final Worldworld
getWorld
public
World
getWorld
()
Method getWorld.
setWorld
public
void
setWorld
(@Nullable final World world)
Method setWorld.
- Parameters:
@Nullable final Worldworld
toString
public
String
toString
()
Method toString.