mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-08-04 05:16:21 -04:00
Fixed mount store null error
This commit is contained in:
@@ -652,6 +652,11 @@ public class MountService implements INetworkDispatch {
|
||||
* Judging by the fact pcds have inventories and many other things don't.
|
||||
*/
|
||||
public void store(CreatureObject storer, CreatureObject mount) {
|
||||
if (mount == null) {
|
||||
System.err.println("MountService:store(): mount is null; this should never be the case.");
|
||||
return;
|
||||
}
|
||||
|
||||
if (mount.getContainer() != null) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user