Always use 1.21.1 API
This commit is contained in:
parent
fa96487ef6
commit
4bf6ec5ae7
2 changed files with 2 additions and 2 deletions
2
pom.xml
2
pom.xml
|
@ -167,7 +167,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.spigotmc</groupId>
|
<groupId>org.spigotmc</groupId>
|
||||||
<artifactId>spigot-api</artifactId>
|
<artifactId>spigot-api</artifactId>
|
||||||
<version>${project.spigot.version}</version>
|
<version>1.21.1-R0.1-SNAPSHOT</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|
|
@ -73,7 +73,7 @@ public class SwingManager implements Listener {
|
||||||
var result = player.getWorld().rayTraceEntities(
|
var result = player.getWorld().rayTraceEntities(
|
||||||
player.getEyeLocation(),
|
player.getEyeLocation(),
|
||||||
player.getEyeLocation().getDirection(),
|
player.getEyeLocation().getDirection(),
|
||||||
player.getAttribute(Attribute.ENTITY_INTERACTION_RANGE).getValue(),
|
player.getAttribute(Attribute.PLAYER_ENTITY_INTERACTION_RANGE).getValue(),
|
||||||
e -> e != player
|
e -> e != player
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue