Commits

md_5 authored 94ba8243026
SPIGOT-1758: Apply correct ItemMeta to new CommandBlock types
No tags

src/main/java/org/bukkit/craftbukkit/inventory/CraftItemFactory.java

Modified
96 96 case JUKEBOX:
97 97 case DISPENSER:
98 98 case DROPPER:
99 99 case SIGN:
100 100 case MOB_SPAWNER:
101 101 case NOTE_BLOCK:
102 102 case PISTON_BASE:
103 103 case BREWING_STAND_ITEM:
104 104 case ENCHANTMENT_TABLE:
105 105 case COMMAND:
106 + case COMMAND_REPEATING:
107 + case COMMAND_CHAIN:
106 108 case BEACON:
107 109 case DAYLIGHT_DETECTOR:
108 110 case DAYLIGHT_DETECTOR_INVERTED:
109 111 case HOPPER:
110 112 case REDSTONE_COMPARATOR:
111 113 case FLOWER_POT_ITEM:
112 114 case SHIELD:
113 115 return new CraftMetaBlockState(meta, material);
114 116 default:
115 117 return new CraftMetaItem(meta);

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut