cPickup doesn't use cPackets.
Also, Lua API change, OnCollectItem -> OnCollectPickup; first param is cPlayer to match other callbacks. git-svn-id: http://mc-server.googlecode.com/svn/trunk@786 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
@@ -118,10 +118,10 @@ bool cPlugin::OnChunkGenerating(cWorld * a_World, int a_ChunkX, int a_ChunkZ, cL
|
||||
|
||||
|
||||
|
||||
bool cPlugin::OnCollectItem(cPickup * a_Pickup, cPlayer * a_Player)
|
||||
bool cPlugin::OnCollectPickup(cPlayer * a_Player, cPickup * a_Pickup)
|
||||
{
|
||||
UNUSED(a_Pickup);
|
||||
UNUSED(a_Player);
|
||||
UNUSED(a_Pickup);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user