mirror of
https://github.com/DieReicheErethons/Brewery.git
synced 2025-01-05 18:37:40 +01:00
Use " instead of \ for encoding
This commit is contained in:
parent
ed40a1f608
commit
3b7e019de3
@ -44,6 +44,7 @@ import java.io.IOException;
|
||||
import java.util.HashMap;
|
||||
import java.util.HashSet;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
@ -351,6 +352,13 @@ public class InventoryListener implements Listener {
|
||||
out.writeLong(Long.MAX_VALUE);*/
|
||||
|
||||
out.close();
|
||||
/*StringBuilder b = new StringBuilder();
|
||||
for (char c : "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!$%&()*+,-./:;<=>?@[]^_`{|}~\"".toCharArray()) {
|
||||
b.append('§').append(c);
|
||||
}
|
||||
List<String> lore = potion.getLore();
|
||||
lore.add(b.toString());
|
||||
potion.setLore(lore);*/
|
||||
item.setItemMeta(potion);
|
||||
|
||||
} catch (IOException h) {
|
||||
|
@ -137,7 +137,7 @@ public class basE91
|
||||
public basE91()
|
||||
{
|
||||
int i;
|
||||
String ts = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!$%&()*+,-./:;<=>?@[\\]^_`{|}~";
|
||||
String ts = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!$%&()*+,-./:;<=>?@[]^_`{|}~\""; // Added '-' removed '#'
|
||||
|
||||
enctab = ts.getBytes();
|
||||
dectab = new byte[256];
|
||||
|
Loading…
Reference in New Issue
Block a user