Skip to content

Commit

Permalink
Don't forget to make the drone pad controller resistant too :P
Browse files Browse the repository at this point in the history
  • Loading branch information
bruberu committed Jan 23, 2024
1 parent c62c9db commit ffe48f2
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
import supersymmetry.common.blocks.SuSyBlocks;
import supersymmetry.common.entities.EntityDrone;

import javax.annotation.Nonnull;
import java.util.List;

public class MetaTileEntityDronePad extends RecipeMapMultiblockController {
Expand Down Expand Up @@ -87,6 +88,11 @@ public boolean isMultiblockPartWeatherResistant(@Nonnull IMultiblockPart part) {
return true;
}

@Override
public boolean getIsWeatherOrTerrainResistant() {
return true;
}

public boolean hasDrone() {
if (this.drone != null && !this.drone.isDead) {
for (EntityDrone entity : this.getWorld().getEntitiesWithinAABB(EntityDrone.class, this.landingAreaBB)) {
Expand Down

0 comments on commit ffe48f2

Please sign in to comment.