diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 263f084..72f47f3 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -1,4 +1,4 @@ -name: "deploy" +name: "ci" on: push: diff --git a/src/main/java/cc/fascinated/controller/PlayerController.java b/src/main/java/cc/fascinated/controller/PlayerController.java index 274518f..a1dd9c0 100644 --- a/src/main/java/cc/fascinated/controller/PlayerController.java +++ b/src/main/java/cc/fascinated/controller/PlayerController.java @@ -42,7 +42,7 @@ public class PlayerController { @GetMapping(value = "/{part}/{id}") public ResponseEntity getPlayerHead(@PathVariable String part, @PathVariable String id, - @RequestParam(required = false, defaultValue = "250") int size) { + @RequestParam(required = false, defaultValue = "256") int size) { Player player = playerManagerService.getPlayer(id); byte[] partBytes = new byte[0]; if (player != null) { // The player exists diff --git a/src/main/java/cc/fascinated/model/player/Skin.java b/src/main/java/cc/fascinated/model/player/Skin.java index 65c8eac..bb27d6c 100644 --- a/src/main/java/cc/fascinated/model/player/Skin.java +++ b/src/main/java/cc/fascinated/model/player/Skin.java @@ -87,7 +87,7 @@ public class Skin { @Getter @AllArgsConstructor public enum Parts { - HEAD(8, 8, 8, 8, 128); + HEAD(8, 8, 8, 8, 256); /** * The x and y position of the part. diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index 40b0306..5adc0a7 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -15,7 +15,7 @@ -

Hello!!!

+

Hello!

Wrapper for the Minecraft APIs to make them easier to use.

Source Code