mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-20 03:35:51 +00:00
Resolves #3164
This commit is contained in:
parent
e58a6219ff
commit
138394e5a0
@ -6,7 +6,6 @@ import javax.annotation.Nonnull;
|
||||
import javax.annotation.Nullable;
|
||||
import javax.annotation.ParametersAreNonnullByDefault;
|
||||
|
||||
import org.bukkit.ChatColor;
|
||||
import org.bukkit.GameMode;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.Sound;
|
||||
@ -116,11 +115,6 @@ public class AncientPedestal extends SimpleSlimefunItem<BlockDispenseHandler> {
|
||||
stack.setItemMeta(im);
|
||||
} else {
|
||||
ItemMeta im = stack.getItemMeta();
|
||||
|
||||
if (!customName.startsWith(String.valueOf(ChatColor.COLOR_CHAR))) {
|
||||
customName = ChatColor.WHITE + customName;
|
||||
}
|
||||
|
||||
im.setDisplayName(customName);
|
||||
stack.setItemMeta(im);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user