mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-25 22:10:21 +01:00
Shorter comments
This commit is contained in:
parent
847e878d7b
commit
a5facdc5bc
1 changed files with 2 additions and 2 deletions
|
@ -674,7 +674,7 @@
|
|||
}
|
||||
|
||||
- return this.abilities.instabuild ? new ItemStack(Items.ARROW) : ItemStack.EMPTY;
|
||||
+ // Paper start - Call PlayerUseBowWithoutProjectileEvent in Player#getProjectile
|
||||
+ // Paper start - PlayerUseBowWithoutProjectileEvent
|
||||
+ if (this.abilities.instabuild) {
|
||||
+ return new ItemStack(Items.ARROW);
|
||||
+ } else {
|
||||
|
@ -682,7 +682,7 @@
|
|||
+ event.callEvent();
|
||||
+ return org.bukkit.craftbukkit.inventory.CraftItemStack.asNMSCopy(event.getProjectile());
|
||||
+ }
|
||||
+ // Paper end - Call PlayerUseBowWithoutProjectileEvent in Player#getProjectile
|
||||
+ // Paper end - PlayerUseBowWithoutProjectileEvent
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue