mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-24 17:22:55 +01:00
Arrows use interactable condition
By: md_5 <git@md-5.net>
This commit is contained in:
parent
eb3bbd68cc
commit
f2440a109a
1 changed files with 6 additions and 1 deletions
|
@ -542,7 +542,12 @@
|
||||||
|
|
||||||
this.C(entity);
|
this.C(entity);
|
||||||
}
|
}
|
||||||
@@ -1781,7 +2045,7 @@
|
@@ -1777,11 +2041,11 @@
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isInteractable() {
|
||||||
|
- return !this.dead;
|
||||||
|
+ return !this.dead && this.collides; // CraftBukkit
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isCollidable() {
|
public boolean isCollidable() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue