Makes ActionStartEvent give duration in ticks instead of end time
All checks were successful
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
All checks were successful
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
This commit is contained in:
@ -7,12 +7,10 @@ package net.knarcraft.blacksmith.event;
|
||||
public interface ActionStartEvent extends BlacksmithPluginEvent {
|
||||
|
||||
/**
|
||||
* Gets the end time for this action
|
||||
* Gets the amount of ticks this action will take
|
||||
*
|
||||
* <p>The end time is a millisecond time-stamp, basically the same format used by currentTimeMillis();.</p>
|
||||
*
|
||||
* @return <p>The end time</p>
|
||||
* @return <p>The duration in ticks</p>
|
||||
*/
|
||||
long getActionEndTime();
|
||||
long getActionDurationTicks();
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user