Initial sync
This commit is contained in:
19
Nbt/Tag/NbtEnd.cs
Executable file
19
Nbt/Tag/NbtEnd.cs
Executable file
@@ -0,0 +1,19 @@
|
||||
namespace Nbt.Tag;
|
||||
|
||||
public sealed class NbtEnd : INbtTag
|
||||
{
|
||||
public static readonly NbtEnd Value = new();
|
||||
|
||||
private NbtEnd() { }
|
||||
|
||||
public NbtTagType Type => NbtTagType.End;
|
||||
|
||||
INbtTag INbtTag.Copy() => this;
|
||||
|
||||
public bool Equals(INbtTag? other) => this == other;
|
||||
|
||||
public override bool Equals(object? obj) => this == obj;
|
||||
|
||||
public override int GetHashCode() => 0;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user