Skip to content

Instantly share code, notes, and snippets.

@Redrield
Last active April 4, 2016 17:46
Show Gist options
  • Save Redrield/d1e990194789b836938f to your computer and use it in GitHub Desktop.
Save Redrield/d1e990194789b836938f to your computer and use it in GitHub Desktop.
import org.bukkit.Ridable;
public class Z750 implements Ridable {
private Class<? extends Rider> rider;
public Z750(Class<? extends Rider> rider) {
if(rider.getName().equals("Qball")) {
throw new BuckingBroncoException("Unwanted rider");
}
this.rider = rider;
}
public void brain() {
//TODO: Implement something here
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment