mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-06 20:56:41 +00:00
Update upstream
This commit is contained in:
@ -186,7 +186,7 @@ public class DefaultBlockParser extends InputParser<BaseBlock> {
|
||||
if (context.getActor() != null) {
|
||||
throw new NoMatchException("Unknown property " + parts[0] + " for block " + type.getId());
|
||||
} else {
|
||||
WorldEdit.logger.warn("Unknown property " + parts[0] + " for block " + type.getId());
|
||||
WorldEdit.logger.debug("Unknown property " + parts[0] + " for block " + type.getId());
|
||||
}
|
||||
return Maps.newHashMap();
|
||||
}
|
||||
|
@ -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() {
|
||||
}
|
||||
}
|
||||
|
@ -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) {
|
||||
|
Reference in New Issue
Block a user