if (group.canUnload()) {
TrainCarts.plugin.log(Level.WARNING, "Train '" + group.getProperties().getTrainName() + "' forcibly unloaded!");
} else {
TrainCarts.plugin.log(Level.WARNING, "Train '" + group.getProperties().getTrainName() + "' had to be restored after unexpected unload");
}
group.unload();
// For the next tick: update the storage system to restore trains here and there
CommonUtil.nextTick(new Runnable() {
public void run() {
OfflineGroupManager.refresh();
}