update default head part size

This commit is contained in:
Lee 2024-04-08 23:40:47 +01:00
parent b4df9a15a9
commit 5eecd82da0
4 changed files with 4 additions and 4 deletions

@ -1,4 +1,4 @@
name: "deploy"
name: "ci"
on:
push:

@ -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

@ -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.

@ -15,7 +15,7 @@
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="flex flex-col h-screen mt-5 items-center bg-neutral-900 text-white text-center">
<p class="font-bold">Hello!!!</p>
<p class="font-bold">Hello!</p>
<p>Wrapper for the Minecraft APIs to make them easier to use.</p>
<a class="text-blue-600" target=”_blank” href="https://git.fascinated.cc/Fascinated/minecraft-helper">Source Code</a>