mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-15 21:04:04 +00:00
Add default getAllProperties method
This commit is contained in:
@@ -63,6 +63,7 @@ import org.bukkit.inventory.ItemStack;
|
|||||||
|
|
||||||
import javax.annotation.Nullable;
|
import javax.annotation.Nullable;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
|
import java.util.Collections;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.OptionalInt;
|
import java.util.OptionalInt;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
@@ -333,5 +334,9 @@ public interface BukkitImplAdapter<T> extends IBukkitAdapter {
|
|||||||
default RelighterFactory getRelighterFactory() {
|
default RelighterFactory getRelighterFactory() {
|
||||||
return new NMSRelighterFactory(); // TODO implement in adapters instead
|
return new NMSRelighterFactory(); // TODO implement in adapters instead
|
||||||
}
|
}
|
||||||
|
|
||||||
|
default Map<String, ? extends Property<?>> getAllProperties() {
|
||||||
|
return Collections.emptyMap();
|
||||||
|
}
|
||||||
//FAWE end
|
//FAWE end
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user