Clean tests before running
This commit is contained in:
@@ -255,7 +255,7 @@ public class Conveyor extends Block implements Autotiler{
|
||||
}
|
||||
|
||||
public boolean pass(Item item){
|
||||
if(next != null && next.team == team && next.acceptItem(this, item)){
|
||||
if(item != null && next != null && next.team == team && next.acceptItem(this, item)){
|
||||
next.handleItem(this, item);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user