Deprecate UnsafeValues#getSpawnEggLayerColor (#12041)
This commit is contained in:
@@ -751,9 +751,9 @@ public final class CraftMagicNumbers implements UnsafeValues {
|
||||
final net.minecraft.world.entity.EntityType<?> nmsType = org.bukkit.craftbukkit.entity.CraftEntityType.bukkitToMinecraft(entityType);
|
||||
final net.minecraft.world.item.SpawnEggItem eggItem = net.minecraft.world.item.SpawnEggItem.byId(nmsType);
|
||||
if (eggItem != null) {
|
||||
throw new UnsupportedOperationException("Not yet implemented");
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
return eggItem == null ? null : org.bukkit.Color.fromRGB(1); // TODO
|
||||
return null;
|
||||
}
|
||||
// Paper end - spawn egg color visibility
|
||||
|
||||
|
||||
Reference in New Issue
Block a user