Update mappings to 20200510

This commit is contained in:
Hubry committed 2020-05-10 21:39:43 +02:00
1 parent e3be3c6138
commit 8ebfd99157
232 files changed
+1067 -1067

No files matched your search

@@ -82,7 +82,7 @@ public class ItemBrewBase extends Item implements IBrewItem {
@Override
public ActionResult<ItemStack> onItemRightClick(World world, PlayerEntity player, @Nonnull Hand hand) {
player.setActiveHand(hand);
return ActionResult.success(player.getHeldItem(hand));
return ActionResult.resultSuccess(player.getHeldItem(hand));
}
@Nonnull
@@ -99,7 +99,7 @@ public class ItemBrewBase extends Item implements IBrewItem {
}
if (world.rand.nextBoolean()) {
world.playSound(null, living.getX(), living.getY(), living.getZ(), SoundEvents.ENTITY_PLAYER_BURP, SoundCategory.PLAYERS, 1F, 1F);
world.playSound(null, living.getPosX(), living.getPosY(), living.getPosZ(), SoundEvents.ENTITY_PLAYER_BURP, SoundCategory.PLAYERS, 1F, 1F);
}
int swigs = getSwigsLeft(stack);