Some more backwards incompatible changes (minor though), also a ton of small cleanup.
onPluginEnable(PluginEvent event) -> onPluginEnable(PluginEnableEvent event) onPluginDisable(PluginEvent event) -> onPluginDisable(PluginDisableEvent event) onVehicleUpdate(VehicleEvent event) -> onVehicleUpdate(VehicleUpdateEvent event) onWorldSave(WorldEvent event) -> onWorldSave(WorldSaveEvent event) onWorldLoad(WorldEvent event) -> onWorldLoad(WorldLoadEvent event)
This commit is contained in:
@@ -6,8 +6,8 @@ import org.bukkit.entity.Player;
|
||||
public class PlayerRespawnEvent extends PlayerEvent {
|
||||
private Location respawnLocation;
|
||||
|
||||
public PlayerRespawnEvent(Type type, Player respawnPlayer, Location respawnLocation) {
|
||||
super(type, respawnPlayer);
|
||||
public PlayerRespawnEvent(Player respawnPlayer, Location respawnLocation) {
|
||||
super(Type.PLAYER_RESPAWN, respawnPlayer);
|
||||
this.respawnLocation = respawnLocation;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user