Probably fixes #707.

This commit is contained in:
Jeremy Wood 2012-06-20 10:18:52 -03:00
parent 220f6a31de
commit 9eccf93b66

View File

@ -105,7 +105,7 @@ public class MVEntityListener implements Listener {
/**
* Handle people with non-standard animals: ie a patched craftbukkit.
*/
if (type == null) {
if (type == null || type.getName() == null) {
this.plugin.log(Level.FINER, "Found a null typed creature.");
return;
}