mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-05-23 19:14:53 +00:00
Move JavaResourcePackConverter to its own cs proj
This commit is contained in:
15
JavaResourcePackConverter/Java/SingleVersion.cs
Normal file
15
JavaResourcePackConverter/Java/SingleVersion.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
|
||||
namespace JavaResourcePackConverter
|
||||
{
|
||||
class SingleVersion(Version version) : IMinecraftJavaVersion
|
||||
{
|
||||
private readonly Version _version = version;
|
||||
|
||||
public SingleVersion(string version) : this(new Version(version)) { }
|
||||
|
||||
public bool Equals(Version other) => _version.Equals(other);
|
||||
|
||||
public string ToString(string _) => _version.ToString();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user