mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-06-08 18:47:34 +00:00
Bandage solution for LittleEndian pcks not saving
This commit is contained in:
@@ -138,6 +138,11 @@ namespace PckStudio.Controls
|
||||
};
|
||||
}
|
||||
|
||||
protected override void PreSave()
|
||||
{
|
||||
EditorValue.Endianness = LittleEndianCheckBox.Checked ? OMI.ByteOrder.LittleEndian : OMI.ByteOrder.BigEndian;
|
||||
}
|
||||
|
||||
protected override void PostSave()
|
||||
{
|
||||
_timesSaved++;
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace PckStudio.Core
|
||||
public static readonly PackInfo Empty = new PackInfo(default, default, default);
|
||||
public bool IsValid { get; }
|
||||
public PckFile File { get; }
|
||||
public OMI.ByteOrder Endianness { get; }
|
||||
public OMI.ByteOrder Endianness;
|
||||
|
||||
|
||||
//public enum PackType
|
||||
|
||||
Reference in New Issue
Block a user