Skip to content

Commit 13cf1fa

Browse files
committed
v1.0.2 add getPlayer in SpectateTask
1 parent 84e3e55 commit 13cf1fa

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>to.us.tf</groupId>
88
<artifactId>DeathSpectating</artifactId>
9-
<version>1.0.1</version>
9+
<version>1.0.2</version>
1010
<properties>
1111
<maven.compiler.source>1.8</maven.compiler.source>
1212
<maven.compiler.target>1.8</maven.compiler.target>

src/main/java/to/us/tf/DeathSpectating/tasks/SpectateTask.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ public SpectateTask(Player player, long ticks, @Nullable Entity killer, DeathSpe
3232
// vector = player.getLocation().subtract(player.getLocation().add(0, 1, 0).toVector()).toVector();
3333
}
3434

35+
public Player getPlayer()
36+
{
37+
return player;
38+
}
39+
3540
public void setTicks(long ticks)
3641
{
3742
this.ticks = ticks;

0 commit comments

Comments
 (0)