Hagumi stamp update fix.
This commit is contained in:
parent
0e9240a8eb
commit
09c42f0155
BIN
sigIRCv2.jar
BIN
sigIRCv2.jar
Binary file not shown.
@ -143,7 +143,7 @@ public class BandoriModule extends Module{
|
|||||||
stamp_map.put("sayo_im_sorry",Arrays.asList("sorry","gomen","apologize","somethingwrong","forgive"));
|
stamp_map.put("sayo_im_sorry",Arrays.asList("sorry","gomen","apologize","somethingwrong","forgive"));
|
||||||
stamp_map.put("hagumi_hooray",Arrays.asList("hooray","hiphip","whoo","yahoo"));
|
stamp_map.put("hagumi_hooray",Arrays.asList("hooray","hiphip","whoo","yahoo"));
|
||||||
|
|
||||||
for (String s : image_map.keySet()) {
|
/*for (String s : image_map.keySet()) {
|
||||||
ImageScheme scheme = image_map.get(s);
|
ImageScheme scheme = image_map.get(s);
|
||||||
try {
|
try {
|
||||||
BufferedImage img = crop(scheme.base,scheme.stamp_index%6*270+4, scheme.stamp_index/6*223+3, 258, 214);
|
BufferedImage img = crop(scheme.base,scheme.stamp_index%6*270+4, scheme.stamp_index/6*223+3, 258, 214);
|
||||||
@ -151,7 +151,7 @@ public class BandoriModule extends Module{
|
|||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
|
|
||||||
public BufferedImage crop(BufferedImage img, int x, int y, int targetWidth, int targetHeight) throws IOException {
|
public BufferedImage crop(BufferedImage img, int x, int y, int targetWidth, int targetHeight) throws IOException {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user