Created
July 6, 2014 16:30
-
-
Save anna-is-cute/37e3f841d3393952fc0c 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
@EventHandler | |
public void onFood(FoodLevelChangeEvent e) { | |
e.setFoodLevel(e.getFoodLevel() / 2); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment