Force compile-time failures for the subtle changes done in the API
This commit is contained in:
@@ -38,4 +38,8 @@ public class WorldListener implements Listener {
|
||||
*/
|
||||
public void onWorldLoad(WorldLoadEvent event) {
|
||||
}
|
||||
|
||||
// Prevent compilation of old signatures TODO: Remove after 1.4
|
||||
@Deprecated public final void onWorldLoad(WorldEvent event) {}
|
||||
@Deprecated public final void onWorldSave(WorldEvent event) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user