fix error in docking station on chunk unload, fixes #2898
This commit is contained in:
parent
ac47040919
commit
41bb30a7be
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ public abstract class DockingStation {
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean linkIsDocked() {
|
public boolean linkIsDocked() {
|
||||||
if (isTaken()) {
|
if (robotTaking() != null) {
|
||||||
return robotTaking().getDockingStation() == this;
|
return robotTaking().getDockingStation() == this;
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue