Bugfixes
This commit is contained in:
@@ -539,6 +539,10 @@ abstract class BuildingComp implements Posc, Teamc, Healthc, Buildingc, Timerc,
|
||||
return base();
|
||||
}
|
||||
|
||||
public @Nullable Payload getPayload(){
|
||||
return null;
|
||||
}
|
||||
|
||||
/** Tries to take the payload. Returns null if no payload is present. */
|
||||
public @Nullable Payload takePayload(){
|
||||
return null;
|
||||
|
||||
@@ -12,7 +12,7 @@ import mindustry.world.blocks.payloads.*;
|
||||
|
||||
/** An entity that holds a payload. */
|
||||
@Component
|
||||
abstract class PayloadComp implements Posc, Rotc{
|
||||
abstract class PayloadComp implements Posc, Rotc, Hitboxc{
|
||||
@Import float x, y, rotation;
|
||||
|
||||
Seq<Payload> payloads = new Seq<>();
|
||||
|
||||
Reference in New Issue
Block a user