summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage/EnchantmentSerializer.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-05-09 13:22:59 +0200
committerMattes D <github@xoft.cz>2015-05-09 13:22:59 +0200
commitca949447eefe74804e677fff5a46a1f18a826901 (patch)
tree911736baccf3617a13f6b7e04ebbfe3fe035fb50 /src/WorldStorage/EnchantmentSerializer.cpp
parentRabbit and cooked rabbit now stackable (diff)
parentAdded check against "Type const &" and "Type const *". (diff)
downloadcuberite-ca949447eefe74804e677fff5a46a1f18a826901.tar
cuberite-ca949447eefe74804e677fff5a46a1f18a826901.tar.gz
cuberite-ca949447eefe74804e677fff5a46a1f18a826901.tar.bz2
cuberite-ca949447eefe74804e677fff5a46a1f18a826901.tar.lz
cuberite-ca949447eefe74804e677fff5a46a1f18a826901.tar.xz
cuberite-ca949447eefe74804e677fff5a46a1f18a826901.tar.zst
cuberite-ca949447eefe74804e677fff5a46a1f18a826901.zip
Diffstat (limited to 'src/WorldStorage/EnchantmentSerializer.cpp')
-rw-r--r--src/WorldStorage/EnchantmentSerializer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WorldStorage/EnchantmentSerializer.cpp b/src/WorldStorage/EnchantmentSerializer.cpp
index 56072207f..a6e562956 100644
--- a/src/WorldStorage/EnchantmentSerializer.cpp
+++ b/src/WorldStorage/EnchantmentSerializer.cpp
@@ -5,7 +5,7 @@
#include "Enchantments.h"
#include "FastNBT.h"
-void EnchantmentSerializer::WriteToNBTCompound(cEnchantments const& a_Enchantments, cFastNBTWriter & a_Writer, const AString & a_ListTagName)
+void EnchantmentSerializer::WriteToNBTCompound(const cEnchantments & a_Enchantments, cFastNBTWriter & a_Writer, const AString & a_ListTagName)
{
// Write the enchantments into the specified NBT writer
// begin with the LIST tag of the specified name ("ench" or "StoredEnchantments")
@@ -25,7 +25,7 @@ void EnchantmentSerializer::WriteToNBTCompound(cEnchantments const& a_Enchantmen
-void EnchantmentSerializer::ParseFromNBT(cEnchantments& a_Enchantments, const cParsedNBT & a_NBT, int a_EnchListTagIdx)
+void EnchantmentSerializer::ParseFromNBT(cEnchantments & a_Enchantments, const cParsedNBT & a_NBT, int a_EnchListTagIdx)
{
// Read the enchantments from the specified NBT list tag (ench or StoredEnchantments)