Grrr. Stupid error. Sorry lex: I fixed it.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
This commit is contained in:
parent
81ec8b99ac
commit
4323c6d845
2 changed files with 11 additions and 1 deletions
|
@ -50,7 +50,7 @@ import net.minecraftforge.fluids.capability.CapabilityFluidHandler;
|
|||
import net.minecraftforge.items.CapabilityItemHandler;
|
||||
import net.minecraftforge.fluids.UniversalBucket;
|
||||
import net.minecraftforge.fml.common.Mod;
|
||||
import net.minecraftforge.fml.common.gameevent.PlayerEvent;
|
||||
import net.minecraftforge.event.entity.player.PlayerEvent;
|
||||
import org.apache.logging.log4j.Marker;
|
||||
import org.apache.logging.log4j.MarkerManager;
|
||||
|
||||
|
|
|
@ -53,11 +53,21 @@ public class PlayerEvent extends LivingEvent
|
|||
entityPlayer = player;
|
||||
}
|
||||
|
||||
/**
|
||||
* Use {@link #getPlayer()}
|
||||
*
|
||||
* @return Player
|
||||
*/
|
||||
@Deprecated
|
||||
public PlayerEntity getEntityPlayer()
|
||||
{
|
||||
return entityPlayer;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Player
|
||||
*/
|
||||
public PlayerEntity getPlayer() { return entityPlayer; }
|
||||
/**
|
||||
* HarvestCheck is fired when a player attempts to harvest a block.<br>
|
||||
* This event is fired whenever a player attempts to harvest a block in
|
||||
|
|
Loading…
Reference in a new issue