mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-12-25 15:03:34 +00:00
some tweaks
This commit is contained in:
parent
dc96fcba85
commit
907e045904
@ -1,6 +1,6 @@
|
||||
#include "VendorComponent.h"
|
||||
|
||||
#include <BitStream.h>
|
||||
#include "BitStream.h"
|
||||
|
||||
#include "Game.h"
|
||||
#include "dServer.h"
|
||||
|
@ -279,6 +279,9 @@ void Entity::Initialize() {
|
||||
break;
|
||||
case eReplicaComponentType::VENDOR:
|
||||
AddComponent<VendorComponent>();
|
||||
if (!HasComponent(eReplicaComponentType::PROXIMITY_MONITOR)) {
|
||||
AddComponent<ProximityMonitorComponent>();
|
||||
}
|
||||
break;
|
||||
case eReplicaComponentType::INVENTORY:
|
||||
AddComponent<InventoryComponent>();
|
||||
@ -409,6 +412,12 @@ void Entity::Initialize() {
|
||||
case eReplicaComponentType::BUILD_BORDER:
|
||||
AddComponent<BuildBorderComponent>();
|
||||
break;
|
||||
case eReplicaComponentType::DONATION_VENDOR:
|
||||
AddComponent<DonationVendorComponent>();
|
||||
if (!HasComponent(eReplicaComponentType::PROXIMITY_MONITOR)) {
|
||||
AddComponent<ProximityMonitorComponent>();
|
||||
}
|
||||
break;
|
||||
case eReplicaComponentType::GHOST:
|
||||
case eReplicaComponentType::SPAWN:
|
||||
case eReplicaComponentType::MODULAR_BUILD:
|
||||
@ -469,9 +478,6 @@ void Entity::Initialize() {
|
||||
case eReplicaComponentType::USER_CONTROL:
|
||||
case eReplicaComponentType::IGNORE_LIST:
|
||||
case eReplicaComponentType::INTERACTION_MANAGER:
|
||||
case eReplicaComponentType::DONATION_VENDOR:
|
||||
AddComponent<DonationVendorComponent>();
|
||||
break;
|
||||
case eReplicaComponentType::COMBAT_MEDIATOR:
|
||||
case eReplicaComponentType::ACHIEVEMENT_VENDOR:
|
||||
case eReplicaComponentType::GATE_RUSH_CONTROL:
|
||||
|
Loading…
Reference in New Issue
Block a user