diff options
author | Mattes D <github@xoft.cz> | 2015-04-17 12:32:46 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-04-20 08:34:44 +0200 |
commit | c9fbcea66d24e0642fc6b285b24681b63281a4b3 (patch) | |
tree | a778fb0f7f834c0e495fd1598337f99e88e2b55a | |
parent | Updated the Core plugin. (diff) | |
download | cuberite-c9fbcea66d24e0642fc6b285b24681b63281a4b3.tar cuberite-c9fbcea66d24e0642fc6b285b24681b63281a4b3.tar.gz cuberite-c9fbcea66d24e0642fc6b285b24681b63281a4b3.tar.bz2 cuberite-c9fbcea66d24e0642fc6b285b24681b63281a4b3.tar.lz cuberite-c9fbcea66d24e0642fc6b285b24681b63281a4b3.tar.xz cuberite-c9fbcea66d24e0642fc6b285b24681b63281a4b3.tar.zst cuberite-c9fbcea66d24e0642fc6b285b24681b63281a4b3.zip |
-rw-r--r-- | src/Items/ItemHandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Items/ItemHandler.cpp b/src/Items/ItemHandler.cpp index f38e2a3e3..d61c883b2 100644 --- a/src/Items/ItemHandler.cpp +++ b/src/Items/ItemHandler.cpp @@ -287,7 +287,7 @@ cItemHandler * cItemHandler::CreateItemHandler(int a_ItemType) void cItemHandler::Deinit() { - for (int i = 0; i < 2267; i++) + for (int i = 0; i < ARRAYCOUNT(m_ItemHandler); i++) { delete m_ItemHandler[i]; m_ItemHandler[i] = nullptr; |