Skip to content

Commit 9be2602

Browse files
committed
Repetition unnecessary, type must always extend MachineOperation by definition
1 parent 9913377 commit 9be2602

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/github/thebusybiscuit/slimefun4/implementation/handlers/MachineBlockBreakHandler.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public class MachineBlockBreakHandler extends SimpleBlockBreakHandler {
2626
private final MachineProcessor<? extends MachineOperation> processor;
2727
private final int[][] slots;
2828

29-
public MachineBlockBreakHandler(@Nullable MachineProcessor<? extends MachineOperation> processor, @Nonnull int[]... slots) {
29+
public MachineBlockBreakHandler(@Nullable MachineProcessor<?> processor, @Nonnull int[]... slots) {
3030
Preconditions.checkNotNull(slots, "MachineBlockBreakHandler doesn't allow null slots, you should probably use another type of SimpleBlockBreakHandler or create your own implementation.");
3131
this.processor = processor;
3232
this.slots = slots;

0 commit comments

Comments
 (0)