mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2025-01-25 01:31:24 +01:00
Probably fixes #707.
This commit is contained in:
parent
220f6a31de
commit
9eccf93b66
@ -105,7 +105,7 @@ public class MVEntityListener implements Listener {
|
|||||||
/**
|
/**
|
||||||
* Handle people with non-standard animals: ie a patched craftbukkit.
|
* 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.");
|
this.plugin.log(Level.FINER, "Found a null typed creature.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user