mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
Properties can have the same string name
Make map of all properties string against list
This commit is contained in:
parent
b8ec4be95c
commit
e750e014ab
@ -64,6 +64,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.Collections;
|
||||||
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.OptionalInt;
|
import java.util.OptionalInt;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
@ -335,7 +336,7 @@ public interface BukkitImplAdapter<T> extends IBukkitAdapter {
|
|||||||
return new NMSRelighterFactory(); // TODO implement in adapters instead
|
return new NMSRelighterFactory(); // TODO implement in adapters instead
|
||||||
}
|
}
|
||||||
|
|
||||||
default Map<String, ? extends Property<?>> getAllProperties() {
|
default Map<String, List<Property<?>>> getAllProperties() {
|
||||||
return Collections.emptyMap();
|
return Collections.emptyMap();
|
||||||
}
|
}
|
||||||
//FAWE end
|
//FAWE end
|
||||||
|
Loading…
Reference in New Issue
Block a user