fix error in docking station on chunk unload, fixes #2898

This commit is contained in:
Hea3veN 2015-07-23 10:04:46 -03:00
parent ac47040919
commit 41bb30a7be

View file

@ -164,7 +164,7 @@ public abstract class DockingStation {
}
public boolean linkIsDocked() {
if (isTaken()) {
if (robotTaking() != null) {
return robotTaking().getDockingStation() == this;
} else {
return false;