Fixup some registry tests, dummies are now persisted across syncing.

This commit is contained in:
LexManos committed 2017-06-23 16:59:57 -05:00
1 parent dee84dc1e4
commit e805b12df8
8 files changed
+100 -37

No files matched your search

@@ -325,7 +325,14 @@ public class GameData
@Override
public Block createDummy(ResourceLocation key)
{
return new Block(Material.AIR).setUnlocalizedName("air").setRegistryName(key);
return new BlockDummyAir().setUnlocalizedName("air").setRegistryName(key);
}
private static class BlockDummyAir extends Block //A named class so DummyBlockReplacementTest can detect if its a dummy
{
private BlockDummyAir()
{
super(Material.AIR);
}
}
}