Skip to content

Commit

Permalink
Fix .material for dLocations.
Browse files Browse the repository at this point in the history
  • Loading branch information
aufdemrand committed Oct 12, 2013
1 parent ae7f188 commit 492e3ec
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -367,7 +367,7 @@ public String getAttribute(Attribute attribute) {
// Returns the Bukkit material name of the block at the location.
// -->
if (attribute.startsWith("material"))
return dMaterial.getMaterialFrom(getBlock().getType(), getBlock().getData()).getAttribute(attribute.fulfill(2));
return dMaterial.getMaterialFrom(getBlock().getType(), getBlock().getData()).getAttribute(attribute.fulfill(1));

// <--[tag]
// @attribute <l@location.sign_contents>
Expand Down

0 comments on commit 492e3ec

Please sign in to comment.