Fixed crafting event in Crafting Grid being fired twice, fixes #1685
This commit is contained in:
@@ -10,6 +10,7 @@
|
|||||||
- Fixed NBT/metadata check on exporting in an Interface (ineternet)
|
- Fixed NBT/metadata check on exporting in an Interface (ineternet)
|
||||||
- Fixed Disk Manipulator being stuck on unemptiable, non-empty disks (ineternet)
|
- Fixed Disk Manipulator being stuck on unemptiable, non-empty disks (ineternet)
|
||||||
- Fixed orientations of the Portable Grid (TeamSpen210)
|
- Fixed orientations of the Portable Grid (TeamSpen210)
|
||||||
|
- Fixed crafting event in Crafting Grid being fired twice (raoulvdberge)
|
||||||
- Disk Manipulator in fluid mode will now extract a bucket at a time instead of 1 mB (or 64 buckets at a time with a Stack Upgrade instead of 64 mB) (raoulvdberge)
|
- Disk Manipulator in fluid mode will now extract a bucket at a time instead of 1 mB (or 64 buckets at a time with a Stack Upgrade instead of 64 mB) (raoulvdberge)
|
||||||
|
|
||||||
### 1.5.31
|
### 1.5.31
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ import com.raoulvdberge.refinedstorage.container.ContainerGrid;
|
|||||||
import net.minecraft.entity.player.EntityPlayer;
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
import net.minecraft.inventory.SlotCrafting;
|
import net.minecraft.inventory.SlotCrafting;
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
import net.minecraftforge.fml.common.FMLCommonHandler;
|
|
||||||
|
|
||||||
import javax.annotation.Nonnull;
|
import javax.annotation.Nonnull;
|
||||||
|
|
||||||
@@ -23,8 +22,6 @@ public class SlotGridCraftingResult extends SlotCrafting {
|
|||||||
@Override
|
@Override
|
||||||
@Nonnull
|
@Nonnull
|
||||||
public ItemStack onTake(EntityPlayer player, @Nonnull ItemStack stack) {
|
public ItemStack onTake(EntityPlayer player, @Nonnull ItemStack stack) {
|
||||||
FMLCommonHandler.instance().firePlayerCraftingEvent(player, stack, grid.getCraftingMatrix());
|
|
||||||
|
|
||||||
onCrafting(stack);
|
onCrafting(stack);
|
||||||
|
|
||||||
if (!player.getEntityWorld().isRemote) {
|
if (!player.getEntityWorld().isRemote) {
|
||||||
|
|||||||
Reference in New Issue
Block a user