You mean this? (ignore bad formatting)

```java

if(cancelled){
return;
}
// CraftBukkit - added this
// etc
```