Skip to content

Commit

Permalink
Pushed image down.
Browse files Browse the repository at this point in the history
  • Loading branch information
EazyFTW committed Oct 2, 2020
1 parent acc294a commit 23e412d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/me/TechsCode/TechDiscordBot/util/Plugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public File getBannerAsFile() {

BufferedImage bufferedImage = new BufferedImage(960, 540, BufferedImage.TYPE_INT_ARGB);
Graphics2D bGr = bufferedImage.createGraphics();
bGr.drawImage(scaled, 0, 0, null);
bGr.drawImage(scaled, 0, (int) Math.round(540 - dim.getHeight()), null);
bGr.dispose();

File file = new File(getRoleName().toLowerCase() + "_banner.png");
Expand Down

0 comments on commit 23e412d

Please sign in to comment.