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:
@@ -12,8 +12,8 @@ public class SignChangeEvent extends BlockEvent implements Cancellable {
|
||||
private Player player;
|
||||
private String[] lines;
|
||||
|
||||
public SignChangeEvent(final Type type, final Block theBlock, final Player thePlayer, String[] theLines) {
|
||||
super(type, theBlock);
|
||||
public SignChangeEvent(final Block theBlock, final Player thePlayer, String[] theLines) {
|
||||
super(Type.SIGN_CHANGE, theBlock);
|
||||
this.player = thePlayer;
|
||||
this.lines = theLines;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user