Minor bugfixes + ClassMap update
This commit is contained in:
@@ -4,6 +4,7 @@ import arc.util.*;
|
||||
import mindustry.entities.*;
|
||||
import mindustry.gen.*;
|
||||
|
||||
/** This class can only be used with PointDefenseBulletWeapon. Attempting to spawn it in outside of that weapon will lead to standard behavior. */
|
||||
public class InterceptorBulletType extends BasicBulletType{
|
||||
|
||||
public InterceptorBulletType(float speed, float damage){
|
||||
|
||||
@@ -188,7 +188,7 @@ abstract class BuilderComp implements Posc, Statusc, Teamc, Rotc{
|
||||
//otherwise, update it.
|
||||
if(current.breaking){
|
||||
entity.deconstruct(self(), core, bs);
|
||||
}else{
|
||||
}else if(entity.current.unlockedNowHost()){ //only allow building unlocked blocks
|
||||
entity.construct(self(), core, bs, current.config);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user