mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-25 17:43:52 +00:00
add enchantments (#7)
* adding enchantments added enchantments, changed minor apis to ensure c# stays synced with the c++ server * add missing enchant apis, oops * add proper docs, and fix namings for stuff in itemmeta --------- Co-authored-by: sylvessa <225480449+sylvessa@users.noreply.github.com>
This commit is contained in:
parent
921abd48a7
commit
017f42b7cd
28 changed files with 1181 additions and 4 deletions
|
|
@ -126,6 +126,7 @@ public class ItemStack
|
|||
public bool setItemMeta(ItemMeta? itemMeta)
|
||||
{
|
||||
_meta = itemMeta?.clone();
|
||||
SyncToOwner();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue