Skip to content

Commit

Permalink
fixed cover placement
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinsdar committed May 28, 2024
1 parent cadec73 commit 9f6becc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ public void setMachineState(MachineState newState) {
}

public CoverFactory[] getValidCovers() {
return AntimatterAPI.all(CoverFactory.class).stream().filter(t -> !t.getIsValid().test(this)).toArray(CoverFactory[]::new);
return AntimatterAPI.all(CoverFactory.class).stream().filter(t -> t.getIsValid().test(this)).toArray(CoverFactory[]::new);
}

public ICover getCover(Direction side) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ protected void serverTick(Level level, BlockPos pos, BlockState state) {
}

public CoverFactory[] getValidCovers() {
return AntimatterAPI.all(CoverFactory.class).stream().filter(t -> !t.getIsValid().test(this)).toArray(CoverFactory[]::new);
return AntimatterAPI.all(CoverFactory.class).stream().filter(t -> t.getIsValid().test(this)).toArray(CoverFactory[]::new);
}

public ICover[] getAllCovers() {
Expand Down

0 comments on commit 9f6becc

Please sign in to comment.