Fix some corner cases in slab placement

This commit is contained in:
tterrag1098 committed 2015-01-14 06:23:52 -05:00
1 parent bdfc938e52
commit 83c3d1c85c
2 files changed
+2 -2

No files matched your search

@@ -2572,7 +2572,7 @@ public enum Features {
private static void registerSlabTop(Block bottom, Block top) {
String name = Block.blockRegistry.getNameForObject(bottom);
name = name.substring(name.indexOf(':')) + "_top";
name = name.substring(name.indexOf(':') + 1) + "_top";
GameRegistry.registerBlock(top, ItemCarvableSlab.class, name);
}
}