From 873fafbccb684d6f9f14f781c2cbd84525e31585 Mon Sep 17 00:00:00 2001 From: Zontreck Date: Mon, 26 Sep 2022 05:08:13 -0700 Subject: [PATCH] 1.0.1 Remove some debug that got left in by mistake --- build.gradle | 2 +- src/main/java/dev/zontreck/mcmods/ItemRegistry.java | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index 4039038..30b9a4f 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,7 @@ plugins { id 'net.minecraftforge.gradle' version '5.1.+' } -version = '1.0' +version = '1.0.1' group = 'dev.zontreck.mcmods' // http://maven.apache.org/guides/mini/guide-naming-conventions.html archivesBaseName = 'WatchMyDurability' diff --git a/src/main/java/dev/zontreck/mcmods/ItemRegistry.java b/src/main/java/dev/zontreck/mcmods/ItemRegistry.java index dc47cd4..1c477cd 100644 --- a/src/main/java/dev/zontreck/mcmods/ItemRegistry.java +++ b/src/main/java/dev/zontreck/mcmods/ItemRegistry.java @@ -62,17 +62,17 @@ public class ItemRegistry { public static boolean contains(String type, Integer slot, Item getNewItem) { ItemRegistry reg = WatchMyDurability.REGISTRY; if(reg.CachedItems.containsKey(type)){ - WatchMyDurability.LOGGER.debug("Registry contains "+type); + //WatchMyDurability.LOGGER.debug("Registry contains "+type); Map items = reg.CachedItems.get(type); if(items.containsKey(slot)){ - WatchMyDurability.LOGGER.debug("ItemRegistry contains slot: "+slot); + //WatchMyDurability.LOGGER.debug("ItemRegistry contains slot: "+slot); Item x = items.get(slot); if(x.Compare(getNewItem)){ - WatchMyDurability.LOGGER.debug("Items are identical!"); + //WatchMyDurability.LOGGER.debug("Items are identical!"); // Items are identical return true; }else { - WatchMyDurability.LOGGER.debug("ITEMS ARE NOT IDENTICAL"); + //WatchMyDurability.LOGGER.debug("ITEMS ARE NOT IDENTICAL"); return false; } }else return false;