From 7b00d2815765f16b4a5cac8b5d0bf6d13d56acda Mon Sep 17 00:00:00 2001 From: "admin@omencraft.com" Date: Wed, 26 Oct 2011 18:47:50 +0000 Subject: Creative mode now breaks blocks without providing block drops. Need to work with Player's Inventory for proper creative mode support. GAMEMODE is declared and set twice. git-svn-id: http://mc-server.googlecode.com/svn/trunk@16 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/packets/cPacket_Respawn.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/packets/cPacket_Respawn.h') diff --git a/source/packets/cPacket_Respawn.h b/source/packets/cPacket_Respawn.h index ab8fbe72a..9a87d11ae 100644 --- a/source/packets/cPacket_Respawn.h +++ b/source/packets/cPacket_Respawn.h @@ -9,7 +9,7 @@ public: cPacket_Respawn() : m_World( 0 ) , m_Difficulty( 0 ) - , m_CreativeMode( 0 ) + , m_CreativeMode( GAMEMODE ) , m_WorldHeight( 0 ) , m_MapSeed( 0 ) { m_PacketID = E_RESPAWN; } -- cgit v1.2.3