Minor bugfixes + ClassMap update

This commit is contained in:
Anuken
2025-04-13 10:05:57 -04:00
parent 1fb0946b86
commit 1b6c0c7717
4 changed files with 17 additions and 1 deletions

View File

@@ -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){

View File

@@ -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);
}