simplify error messages
This commit is contained in:
1 parent
d72a617290
commit
2d1b53258c
9 files changed
+25
-21
No files matched your search
@@ -158,7 +158,7 @@ public class ShapeDispatcher
|
||||
}
|
||||
catch (CommandSyntaxException e)
|
||||
{
|
||||
throw new ThrowStatement("No such particle: "+name, Throwables.UNKNOWN_PARTICLE);
|
||||
throw new ThrowStatement(name, Throwables.UNKNOWN_PARTICLE);
|
||||
}
|
||||
particleCache.put(name, particle);
|
||||
return particle;
|
||||
|
||||
Reference in new issue
Block a user