Fixed BehaviourData file displaying as a binary file instead of text

This commit is contained in:
MattNL
2023-03-02 20:51:42 -05:00
parent 2716775207
commit efd0edb9d3
2 changed files with 18 additions and 5 deletions

View File

@@ -283,12 +283,25 @@ namespace PckStudio.Properties {
}
/// <summary>
/// Looks up a localized resource of type System.Byte[].
/// Looks up a localized string similar to {
/// &quot;COMMENT&quot;: &quot;Entity data research by NessieHax (Miku-666) and MattNL&quot;,
/// &quot;entities&quot;: [
/// { &quot;area_effect_cloud&quot;: &quot;Area Effect Cloud / Particle&quot; },
/// { &quot;armor_stand&quot;: &quot;Armor Stand&quot; },
/// { &quot;arrow&quot;: &quot;Arrow&quot; },
/// { &quot;blaze&quot;: &quot;Blaze&quot; },
/// { &quot;boat&quot;: &quot;Boat&quot; },
/// { &quot;cat&quot;: &quot;Cat (PS4 EXCLUSIVE)&quot; },
/// { &quot;cave_spider&quot;: &quot;Cave Spider (PS4 EXCLUSIVE)&quot; },
/// { &quot;chest_minecart&quot;: &quot;Chest Minecart&quot; },
/// { &quot;chicken&quot;: &quot;Chicken&quot; },
/// { &quot;cod&quot;: &quot;Cod&quot; },
/// { &quot;commandblock_minecart&quot;: &quot;Command Block Minecart&quot; },
/// { &quot;cow&quot;: [rest of string was truncated]&quot;;.
/// </summary>
public static byte[] entityBehaviourData {
public static string entityBehaviourData {
get {
object obj = ResourceManager.GetObject("entityBehaviourData", resourceCulture);
return ((byte[])(obj));
return ResourceManager.GetString("entityBehaviourData", resourceCulture);
}
}

View File

@@ -332,6 +332,6 @@
<value>..\Resources\entities.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="entityBehaviourData" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\entityBehaviourData.json;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
<value>..\Resources\entityBehaviourData.json;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252</value>
</data>
</root>