might fix #2210
This commit is contained in:
parent
11bcd006f7
commit
45deeac56f
1 changed files with 4 additions and 0 deletions
4
common/buildcraft/core/robots/EntityRobot.java
Executable file → Normal file
4
common/buildcraft/core/robots/EntityRobot.java
Executable file → Normal file
|
@ -159,6 +159,7 @@ public class EntityRobot extends EntityRobotBase implements
|
||||||
preventEntitySpawning = false;
|
preventEntitySpawning = false;
|
||||||
noClip = true;
|
noClip = true;
|
||||||
isImmuneToFire = true;
|
isImmuneToFire = true;
|
||||||
|
this.func_110163_bv(); // persistenceRequired = true
|
||||||
|
|
||||||
dataWatcher.addObject(12, Float.valueOf(0));
|
dataWatcher.addObject(12, Float.valueOf(0));
|
||||||
dataWatcher.addObject(13, Float.valueOf(0));
|
dataWatcher.addObject(13, Float.valueOf(0));
|
||||||
|
@ -536,6 +537,9 @@ public class EntityRobot extends EntityRobotBase implements
|
||||||
} else {
|
} else {
|
||||||
tank = null;
|
tank = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Restore robot persistence on pre-6.1.9 robots
|
||||||
|
this.func_110163_bv();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue