geforkt von Mirrors/Paper
SPIGOT-4159: Fix Player.launchProjectile(Trident.class)
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
94d8c51934
Commit
5bdad5e046
@ -322,7 +322,7 @@ public class CraftLivingEntity extends CraftEntity implements LivingEntity {
|
||||
} else if (SpectralArrow.class.isAssignableFrom(projectile)) {
|
||||
launch = new EntitySpectralArrow(world, getHandle());
|
||||
} else if (Trident.class.isAssignableFrom(projectile)) {
|
||||
launch = new EntityThrownTrident(world, getHandle(), net.minecraft.server.ItemStack.a);
|
||||
launch = new EntityThrownTrident(world, getHandle(), new net.minecraft.server.ItemStack(net.minecraft.server.Items.TRIDENT));
|
||||
} else {
|
||||
launch = new EntityTippedArrow(world, getHandle());
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren