Add default getAllProperties method

This commit is contained in:
dordsor21 2021-09-20 14:46:51 +01:00
parent 17a97f2f19
commit d5be6940c7
No known key found for this signature in database
GPG Key ID: 1E53E88969FFCF0B

View File

@ -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
} }