Made Object registry throw on blockID conflict

This commit is contained in:
Robert 2013-11-10 20:28:02 -05:00
parent 6e25105da9
commit e371d70b13

View file

@ -66,6 +66,10 @@ public class ModObjectRegistry
{
block = blockClass.newInstance();
}
catch (IllegalArgumentException e)
{
throw e;
}
catch (Exception e)
{
e.printStackTrace();