Update upstream

This commit is contained in:
NotMyFault
2020-01-08 19:36:12 +01:00
parent 1414859773
commit 3ee920f9e6
8 changed files with 31 additions and 90 deletions

View File

@ -275,4 +275,10 @@ public interface Actor extends Identifiable, SessionOwner, Subject, MapMetadatab
* @return The locale
*/
Locale getLocale();
/**
* Sends any relevant notices to the user when they first use WorldEdit in a session.
*/
default void sendAnnouncements() {
}
}

View File

@ -172,6 +172,11 @@ public class PlayerProxy extends AbstractPlayerActor {
cuiActor.dispatchCUIEvent(event);
}
@Override
public void sendAnnouncements() {
basePlayer.sendAnnouncements();
}
@Nullable
@Override
public <T> T getFacet(Class<? extends T> cls) {