mirror of
https://github.com/GTNewHorizons/NotEnoughCharacters.git
synced 2026-11-26 15:12:55 +00:00
Upgrade PinIn to 1.2
This commit is contained in:
1 parent
da39d1a959
commit
3c702a34e3
3 files changed
+6
-3
No files matched your search
+1
-1
@@ -66,7 +66,7 @@ dependencies {
|
||||
compile 'codechicken:CodeChickenLib:1.7.10-1.1.3.138:dev'
|
||||
compile 'codechicken:CodeChickenCore:1.7.10-1.0.7.+:dev'
|
||||
|
||||
shade 'me.towdium:PinIn:1.1.0-all'
|
||||
shade 'me.towdium:PinIn:1.2.0-all'
|
||||
}
|
||||
|
||||
jar {
|
||||
|
||||
Binary file not shown.
@@ -3,7 +3,6 @@ package net.moecraft.nechar;
|
||||
import codechicken.nei.api.ItemFilter;
|
||||
import codechicken.nei.api.ItemInfo;
|
||||
import cpw.mods.fml.common.registry.GameRegistry;
|
||||
import me.towdium.pinin.Keyboard;
|
||||
import me.towdium.pinin.PinIn;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
@@ -14,7 +13,11 @@ import java.util.List;
|
||||
|
||||
public class NecharSearchFilter implements ItemFilter {
|
||||
// TODO: provide settings for fuzzy pinyin
|
||||
protected static final PinIn context = new PinIn(Keyboard.QUANPIN, true, true, true, true, true, true, true);
|
||||
protected static final PinIn context = new PinIn();
|
||||
|
||||
static {
|
||||
context.config().fU2V(true).commit();
|
||||
}
|
||||
|
||||
protected boolean invalid = false;
|
||||
|
||||
|
||||
Reference in new issue
Block a user