3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-09-06 16:12:51 +02:00

Properties can have the same string name

Make map of all properties string against list
Dieser Commit ist enthalten in:
dordsor21 2021-09-21 18:34:31 +01:00
Ursprung b8ec4be95c
Commit e750e014ab
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 1E53E88969FFCF0B

Datei anzeigen

@ -64,6 +64,7 @@ import org.bukkit.inventory.ItemStack;
import javax.annotation.Nullable;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.OptionalInt;
import java.util.Set;
@ -335,7 +336,7 @@ public interface BukkitImplAdapter<T> extends IBukkitAdapter {
return new NMSRelighterFactory(); // TODO implement in adapters instead
}
default Map<String, ? extends Property<?>> getAllProperties() {
default Map<String, List<Property<?>>> getAllProperties() {
return Collections.emptyMap();
}
//FAWE end