Last active
April 4, 2016 17:46
-
-
Save Redrield/d1e990194789b836938f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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