/*
 *     TridentSDK - A Minecraft Server API
 *     Copyright (C) 2014, The TridentSDK Team
 *
 *     This program is free software: you can redistribute it and/or modify
 *     it under the terms of the GNU General Public License as published by
 *     the Free Software Foundation, either version 3 of the License, or
 *     (at your option) any later version.
 *
 *     This program is distributed in the hope that it will be useful,
 *     but WITHOUT ANY WARRANTY; without even the implied warranty of
 *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *     GNU General Public License for more details.
 *
 *     You should have received a copy of the GNU General Public License
 *     along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package net.tridentsdk.api.event.entity;

import net.tridentsdk.api.entity.Entity;
import net.tridentsdk.api.entity.living.Player;

/**
 * Called when an entity is tamed, i.e. a horse or ocelot
 */
public class EntityTameEvent extends EntityEvent {
    private final Player tamer;
    private boolean cancelled;

    public EntityTameEvent(Entity entity, Player tamer) {
        super(entity);
        this.tamer = tamer;
    }

    public Player getTamer() {
        return this.tamer;
    }

    @Override
    public boolean isCancelled() {

        return this.cancelled;
    }

    @Override
    public void setCancelled(boolean cancelled) {
        this.cancelled = cancelled;
    }
}

@@ -1086,19 +1086,16 @@
 n cancel
-led
 ;%0A%0A    p
@@ -1309,23 +1309,20 @@
 n is
-Cancell
+Ignor
 ed() %7B%0A
-%0A
     
@@ -1332,30 +1332,22 @@
  return 
-this.
 cancel
-led
 ;%0A    %7D%0A
@@ -1381,20 +1381,14 @@
 oid 
-setCancelled
+ignore
 (boo
@@ -1398,19 +1398,16 @@
 n cancel
-led
 ) %7B%0A    
@@ -1421,19 +1421,16 @@
 s.cancel
-led
  = cance
@@ -1430,19 +1430,16 @@
 = cancel
-led
 ;%0A    %7D%0A

Fix all errors