Made Object registry throw on blockID conflict
This commit is contained in:
parent
6e25105da9
commit
e371d70b13
1 changed files with 4 additions and 0 deletions
|
@ -66,6 +66,10 @@ public class ModObjectRegistry
|
|||
{
|
||||
block = blockClass.newInstance();
|
||||
}
|
||||
catch (IllegalArgumentException e)
|
||||
{
|
||||
throw e;
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
e.printStackTrace();
|
||||
|
|
Loading…
Reference in a new issue