Skip to content

Commit

Permalink
Add more id conversions.
Browse files Browse the repository at this point in the history
Bukkit apparently lower cases these for us, but not Forge.
(And invalid block entities are fine - invalid keys are not).
  • Loading branch information
wizjany committed Jul 20, 2019
1 parent a65351e commit edb2e91
Showing 1 changed file with 14 additions and 0 deletions.
Expand Up @@ -384,6 +384,20 @@ private String convertBlockEntityId(String id) {
return "chest";
case "Sign":
return "sign";
case "Banner":
return "banner";
case "Beacon":
return "beacon";
case "Comparator":
return "comparator";
case "Dropper":
return "dropper";
case "Furnace":
return "furnace";
case "Hopper":
return "hopper";
case "Skull":
return "skull";
default:
return id;
}
Expand Down

0 comments on commit edb2e91

Please sign in to comment.