mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-04-13 09:41:09 +00:00
ensure order
This commit is contained in:
parent
368bd884f4
commit
fa2483970d
1 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
package org.bukkit;
|
||||
|
||||
import com.google.common.base.Preconditions;
|
||||
import com.google.common.collect.ImmutableMap;
|
||||
import java.util.Arrays;
|
||||
import java.util.Locale;
|
||||
import java.util.Map;
|
||||
|
@ -392,7 +393,7 @@ public final class Color implements ConfigurationSerializable {
|
|||
@Override
|
||||
@NotNull
|
||||
public Map<String, Object> serialize() {
|
||||
return Map.of(
|
||||
return ImmutableMap.of(
|
||||
"ALPHA", getAlpha(),
|
||||
"RED", getRed(),
|
||||
"BLUE", getBlue(),
|
||||
|
|
Loading…
Add table
Reference in a new issue