Move rule change event into a rule observer and outside the Java api

* Move rule change event into a rule observer, without exposing it

* Fix comment

* Fix formatting changes added by my IDE

Still trying to configure it to force correctly the new style

Also remove some finals
This commit is contained in:
altrisi authored and GitHub committed 2023-03-08 21:31:34 +01:00
1 parent 06bdbdaed2
commit 0869cbb81c
4 files changed
+40 -36

No files matched your search

@@ -437,6 +437,11 @@ public class CarpetEventServer
return events;
}
static
{
Carpet.initCarpetEvents();
}
public static final Event START = new Event("server_starts", 0, true)
{
@Override