Skip to content

Commit

Permalink
some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
planetme committed Jan 22, 2024
1 parent 6c8e571 commit b1c8d93
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ protected void tryFindCatalystInfo(@NotNull Recipe recipe) {
}

@Override
protected boolean prepareRecipe(Recipe recipe) {
public boolean prepareRecipe(Recipe recipe) {
recipe = Recipe.trimRecipeOutputs(recipe, this.getRecipeMap(), this.metaTileEntity.getItemOutputLimit(), this.metaTileEntity.getFluidOutputLimit());

calculateOverclockLimit(recipe);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public ContinuousRecipeLogic(MetaTileEntity tileEntity, RecipeMap<?> recipeMap,
}

@Override
protected boolean prepareRecipe(Recipe recipe) {
public boolean prepareRecipe(Recipe recipe) {
recipe = Recipe.trimRecipeOutputs(recipe, this.getRecipeMap(), this.metaTileEntity.getItemOutputLimit(), this.metaTileEntity.getFluidOutputLimit());

calculateOverclockLimit(recipe);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,11 @@ public MetaTileEntity createMetaTileEntity(IGregTechTileEntity iGregTechTileEnti
return new MetaTileEntityDronePad(this.metaTileEntityId);
}

@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 b1c8d93

Please sign in to comment.