@@ -7,7 +7,7 @@
|
||||
+ // CraftBukkit start - obfuscator went a little crazy
|
||||
+ /*
|
||||
this.a(new MinecraftKey("pull"), (itemstack, world, entityliving) -> {
|
||||
return entityliving != null && itemstack.getItem() == this ? (d(itemstack) ? 0.0F : (float) (itemstack.k() - entityliving.dn()) / (float) e(itemstack)) : 0.0F;
|
||||
return entityliving != null && itemstack.getItem() == this ? (d(itemstack) ? 0.0F : (float) (itemstack.k() - entityliving.dm()) / (float) e(itemstack)) : 0.0F;
|
||||
});
|
||||
@@ -24,6 +26,8 @@
|
||||
this.a(new MinecraftKey("firework"), (itemstack, world, entityliving) -> {
|
||||
@@ -56,6 +56,6 @@
|
||||
+ }
|
||||
+ }
|
||||
+ // CraftBukkit end
|
||||
world.a((EntityHuman) null, entityliving.locX, entityliving.locY, entityliving.locZ, SoundEffects.ITEM_CROSSBOW_SHOOT, SoundCategory.PLAYERS, 1.0F, f);
|
||||
world.playSound((EntityHuman) null, entityliving.locX, entityliving.locY, entityliving.locZ, SoundEffects.ITEM_CROSSBOW_SHOOT, SoundCategory.PLAYERS, 1.0F, f);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user