Add missing isNetworking
This commit is contained in:
parent
e77eb2ccf6
commit
99eefa3797
@ -265,7 +265,8 @@ Item* ItemManager::dropNewItem(ItemState::ItemType type,
|
|||||||
const Vec3 *server_xyz,
|
const Vec3 *server_xyz,
|
||||||
const Vec3 *server_normal)
|
const Vec3 *server_normal)
|
||||||
{
|
{
|
||||||
if(NetworkConfig::get()->isClient() && !server_xyz) return NULL;
|
if (NetworkConfig::get()->isNetworking() &&
|
||||||
|
NetworkConfig::get()->isClient() && !server_xyz) return NULL;
|
||||||
Vec3 normal, pos;
|
Vec3 normal, pos;
|
||||||
const Material* material_hit;
|
const Material* material_hit;
|
||||||
if (!server_xyz)
|
if (!server_xyz)
|
||||||
|
Loading…
Reference in New Issue
Block a user