From 58b1b3160dd0622a3609a3c8c8d93f6482fb94af Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Tue, 4 Sep 2012 15:07:08 +0000 Subject: Fixed FS #243, server crash after restart. The blockhandler table and the itemhandler table weren't properly re-initialized. git-svn-id: http://mc-server.googlecode.com/svn/trunk@830 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/items/Item.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'source/items') diff --git a/source/items/Item.cpp b/source/items/Item.cpp index 17f4ead71..f1b376493 100644 --- a/source/items/Item.cpp +++ b/source/items/Item.cpp @@ -179,6 +179,7 @@ void cItemHandler::Deinit() { delete m_ItemHandler[i]; } + m_HandlerInitialized = false; } -- cgit v1.2.3