Bukkit/CraftBukkit — pull request #1270 by toastedtruth (2013-12-02 00:22:38+00:00)
Title: toastedtruth/1.7.2

#### [C] Made RecipeBookClone implement toBukkitRecipe(). Fixes BUKKIT-4945 and BUKKIT-4971
#### [C] Fix BlockCanBuildEvent.getMaterial() returning null. Fixes BUKKIT-4972

#### Description:
##### The Issue:
###### BUKKIT-4945 and BUKKIT-4971:
The new nms class RecipeBookClone does not implement the Bukkit method toBukkitRecipe().

###### BUKKIT-4972:
Due to obfuscation changes in 1.7.2, l (letter L) is now the Material ID.
i j and k became the x y z coordinates, resulting in no ID being matched for the Material.

##### Justification for this PR:
General CraftBukkit 1.7.2 bug fixes.

##### PR Breakdown:
RecipeBookClone was added from mc-dev, then modified appropriately to extend ShapelessRecipes.

BUKKIT-4972 is corrected by swapping the values into the correct order.

##### Testing Results and Materials:
No tests have been made as of yet, however they appear to be the correct approaches in order for them to be fixed. May need further testing to check that a Material is being returned.

Source changes:
https://github.com/toastedtruth/CraftBukkit-Bleeding/commits/toastedtruth/1.7.2

Compiled binaries:
https://dl.dropboxusercontent.com/u/97488376/downloads/craftbukkit-1.7.2-R0.1-SNAPSHOT.jar

##### Relevant PR(s):
Only this PR.

##### JIRA Ticket:
BUKKIT-4945 - https://bukkit.atlassian.net/browse/BUKKIT-4945
BUKKIT-4971 - https://bukkit.atlassian.net/browse/BUKKIT-4971
BUKKIT-4972 - https://bukkit.atlassian.net/browse/BUKKIT-4972