Skip to content

Commit

Permalink
Fix accidental chat spam #4
Browse files Browse the repository at this point in the history
  • Loading branch information
FakeDomi committed May 7, 2022
1 parent a9dd945 commit 784a8d5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ org.gradle.jvmargs=-Xmx1G
loader_version=0.12.6

# Mod Properties
mod_version = 1.3+1.18
mod_version = 1.4+1.18
maven_group = re.domi
archives_base_name = easy-auto-crafting

Expand Down
2 changes: 0 additions & 2 deletions src/main/java/re/domi/easyautocrafting/CraftingDropper.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import net.minecraft.recipe.CraftingRecipe;
import net.minecraft.recipe.RecipeType;
import net.minecraft.server.world.ServerWorld;
import net.minecraft.text.LiteralText;
import net.minecraft.util.math.BlockPointerImpl;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.Direction;
Expand Down Expand Up @@ -66,7 +65,6 @@ public static void dispense(ServerWorld world, BlockPos pos, CallbackInfo ci)
if (!InventoryUtil.itemStackListsEqual(cache.getIngredients(), craftingInventoryItems)
|| recipe != null && !recipe.matches(craftingInventory, world))
{
world.getPlayers().forEach(p -> p.sendMessage(new LiteralText("lookup"), false));
recipe = world.getRecipeManager().getFirstMatch(RecipeType.CRAFTING, craftingInventory, world).orElse(null);

cache.setRecipe(recipe);
Expand Down

0 comments on commit 784a8d5

Please sign in to comment.