mirror of
https://github.com/Relintai/entity_spell_system.git
synced 2025-04-19 21:33:15 +02:00
Crash fix.
This commit is contained in:
parent
40ab1c9c00
commit
8cafa3bf7d
@ -48,10 +48,10 @@ int Entity::gets_entity_data_id() {
|
||||
}
|
||||
void Entity::sets_entity_data_id(int value) {
|
||||
_s_class_id = value;
|
||||
|
||||
/*
|
||||
if (DataManager::get_instance() != NULL) {
|
||||
sets_entity_data(DataManager::get_instance()->get_entity_data(value));
|
||||
}
|
||||
}*/
|
||||
|
||||
SEND_RPC(rpc("setc_entity_data_id", value), setc_entity_data_id(value));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user