Buggy code:
public class WolfPound extends JavaPlugin { public static final String PERM_CREATE = "wolfpound.create" ; public static final String PERM_USE = "wolfpound.use" ; public static final String PERM_ADOPT = "wolfpound.adopt" ; public static final String PERM_ADMIN = "wolfpound.admin" ; private static final String WOLF_POUND_CONFIG = "WolfPound.yml" ; public static final int NO_ITEM_FOUND = - 2 ; public static final int MULTIPLE_ITEMS_FOUND = - 3 ; public static final int MONEY_ITEM_FOUND = - 1 ; public static final int INVALID_PRICE = - 4 ; public static final ChatColor prefixValid = ChatColor . DARK_BLUE ; public static final ChatColor prefixInvalid = ChatColor . DARK_RED ; private WPPlayerListener playerListener ; private WPBlockListener blockListener ; private WPPluginListener pluginListener ; public FileConfiguration configWP ; public static final Logger log = Logger . getLogger ( "Minecraft" ) ; public static final String logPrefix = "[WolfPound]" ; public static int GlobalDebug = 0 ; public static final String chatPrefixError = ( ( ( ChatColor . DARK_RED ) + ( WolfPound . logPrefix ) ) + ( ChatColor . WHITE ) ) + "<seq2seq4repair_space>" ; public static final String chatPrefix = ( ( ( ChatColor . DARK_GREEN ) + ( WolfPound . logPrefix ) ) + ( ChatColor . WHITE ) ) + "<seq2seq4repair_space>" ; public GenericBank bank ; private AllPay banker ; private WPPermissions permissions ; private CommandHandler commandHandler ; private WorldManager worldManager ; private static double allpayversion = 3 ; private static double chversion = 1 ; @ Override public void onEnable ( ) { } private boolean validateAllpay ( ) { } private boolean validateCH ( ) { } private void loadConfiguration ( ) { } public void saveConfig ( ) { } private void registerCommands ( ) { } @ Override public boolean onCommand ( CommandSender sender , Command command , String commandLabel , String [ ] args ) { } private void getHumanReadableAdoptLimitMessage ( CommandSender s , int limit , String end ) { } private void getHumanReadablePriceMessage ( CommandSender sender , double price , int type , String end ) { } public void sendWolfPrice ( CommandSender s , String world ) { } public void sendWolfLimit ( CommandSender sender , String world ) { } public int getWolfInt ( String wolves , Player p , String errorMsg ) { } public void adoptWolf ( Player p , int wolves ) { } public boolean spawnWolf ( Player p , WolfAggro aggro ) { Wolf w = ( ( Wolf ) ( p . getWorld ( ) . spawnCreature ( p . getLocation ( ) , WOLF ) ) ) ; <START_BUG> w . setHealth ( 20 ) ; <END_BUG> if ( ( aggro != null ) && ( aggro == ( WolfAggro . FRIEND ) ) ) { EntityTameEvent event = new EntityTameEvent ( w , p ) ; this . getServer ( ) . getPluginManager ( ) . callEvent ( event ) ; if ( event . isCancelled ( ) ) { w . damage ( 200 , w ) ; w . remove ( ) ; p . sendMessage ( ( ( WolfPound . chatPrefix ) + "You<seq2seq4repair_space>already<seq2seq4repair_space>have<seq2seq4repair_space>enough<seq2seq4repair_space>tame<seq2seq4repair_space>wolves<seq2seq4repair_space>silly." ) ) ; return false ; } else { w . setOwner ( p ) ; w . setSitting ( false ) ; p . sendMessage ( ( ( WolfPound . chatPrefix ) + "BAM!<seq2seq4repair_space>Your<seq2seq4repair_space>trusty<seq2seq4repair_space>companion<seq2seq4repair_space>is<seq2seq4repair_space>ready<seq2seq4repair_space>for<seq2seq4repair_space>battle!" ) ) ; } } else if ( ( aggro != null ) && ( aggro == ( WolfAggro . ANGRY ) ) ) { w . setAngry ( true ) ; p . sendMessage ( ( ( WolfPound . chatPrefixError ) + "Run<seq2seq4repair_space>Awayyyy!<seq2seq4repair_space>That<seq2seq4repair_space>thing<seq2seq4repair_space>looks<seq2seq4repair_space>angry!" ) ) ; } else { p . sendMessage ( ( ( WolfPound . chatPrefix ) + "Woah!<seq2seq4repair_space>A<seq2seq4repair_space>wolf!<seq2seq4repair_space>You<seq2seq4repair_space>should<seq2seq4repair_space>befriend<seq2seq4repair_space>it!" ) ) ; } return true ; } @ Override public void onDisable ( ) { } public boolean blockIsValidWolfSign ( Sign s ) { } public AllPay getBanker ( ) { } public void setBank ( GenericBank bank ) { } public void log ( Level level , String msg ) { } public static void staticLog ( Level level , String msg ) { } public static void staticDebugLog ( Level level , String msg ) { } public FileConfiguration getWPConfig ( ) { } public CommandHandler getCommandHandler ( ) { } public WPPermissions getPermissions ( ) { } public WorldManager getWorldManager ( ) { } }

Fix:
w . setHealth ( 8 ) ;