update default head part size
Some checks are pending
ci / deploy (push) Waiting to run

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: on:
push: push:

@ -42,7 +42,7 @@ public class PlayerController {
@GetMapping(value = "/{part}/{id}") @GetMapping(value = "/{part}/{id}")
public ResponseEntity<?> getPlayerHead(@PathVariable String part, public ResponseEntity<?> getPlayerHead(@PathVariable String part,
@PathVariable String id, @PathVariable String id,
@RequestParam(required = false, defaultValue = "250") int size) { @RequestParam(required = false, defaultValue = "256") int size) {
Player player = playerManagerService.getPlayer(id); Player player = playerManagerService.getPlayer(id);
byte[] partBytes = new byte[0]; byte[] partBytes = new byte[0];
if (player != null) { // The player exists if (player != null) { // The player exists

@ -87,7 +87,7 @@ public class Skin {
@Getter @AllArgsConstructor @Getter @AllArgsConstructor
public enum Parts { public enum Parts {
HEAD(8, 8, 8, 8, 128); HEAD(8, 8, 8, 8, 256);
/** /**
* The x and y position of the part. * The x and y position of the part.

@ -15,7 +15,7 @@
<script src="https://cdn.tailwindcss.com"></script> <script src="https://cdn.tailwindcss.com"></script>
</head> </head>
<body class="flex flex-col h-screen mt-5 items-center bg-neutral-900 text-white text-center"> <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> <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> <a class="text-blue-600" target=”_blank” href="https://git.fascinated.cc/Fascinated/minecraft-helper">Source Code</a>