mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-19 19:59:56 +00:00
Optimize Imports
This commit is contained in:
1 parent
ec78673fa2
commit
e46b78ff71
149 files changed
+931
-1029
No files matched your search
@@ -1,8 +1,8 @@
|
||||
package nikedemos.markovnames;
|
||||
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
import cpw.mods.fml.common.Loader;
|
||||
import cpw.mods.fml.common.ModContainer;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
import java.io.IOException;
|
||||
@@ -86,7 +86,7 @@ public class MarkovDictionary {
|
||||
|
||||
public void incrementSafe(String str1, String str2) {
|
||||
// so for instance, "_DUP_AUX", "_TOTAL" will count how many "DUP" seqCurrs we have
|
||||
if (occurrences.containsKeys(str1, str2))
|
||||
if (occurrences.containsKeys(str1, str2))
|
||||
{
|
||||
int curr = occurrences.get(str1, str2).intValue();
|
||||
occurrences.put(str1, str2, Integer.valueOf(curr + 1));
|
||||
|
||||
Reference in new issue
Block a user