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

This commit is contained in:
Hea3veN 2015-07-23 10:04:46 -03:00 committed by asiekierka
parent 082942172b
commit 0f26ef1c05

View file

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