mirror of
https://github.com/LCE-Hub/LCE-Emerald-Launcher.git
synced 2026-09-24 17:11:00 +00:00
fix: PCK3, hex values and force slim skins to be wide
This commit is contained in:
@@ -171,7 +171,7 @@ export default function PckEditorView() {
|
||||
const handleNewPCK = () => {
|
||||
playPressSound();
|
||||
const newPck: PCKFile = {
|
||||
version: 2,
|
||||
version: 3,
|
||||
endianness: "little",
|
||||
xmlSupport: false,
|
||||
properties: ["ANIM", "BOX"],
|
||||
@@ -624,7 +624,7 @@ export default function PckEditorView() {
|
||||
const newVal = e.target.checked
|
||||
? currentVal | item.flag
|
||||
: currentVal & ~item.flag;
|
||||
handlePropertyEdit(idx, newVal.toString());
|
||||
handlePropertyEdit(idx, `0x${newVal.toString(16).toUpperCase().padStart(8, "0")}`);
|
||||
}}
|
||||
className="hidden"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user