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