mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-23 08:47:16 +00:00
[Bug Fix] #augmentitem bypasses augment restrictions (#3332)
* [Bug Fix] #augmentitem bypasses augment restrictions # Notes - `Object::HandleAugmentation` did not properly check for `augrestrict` values. This allowed augment restrictions to be bypassed with `#augmentitem` or anything else that uses this method. - `Client::SummonItem` already properly checked these, so I just broke it out into a `Client::IsAugmentRestricted()` method. * Update item_instance.h
This commit is contained in:
1 parent
4a5559022f
commit
5475615448
7 files changed
+173
-170
No files matched your search
@@ -70,7 +70,7 @@ bool Lua_ItemInst::IsAugmentable() {
|
||||
return self->IsAugmentable();
|
||||
}
|
||||
|
||||
int Lua_ItemInst::GetAugmentType() {
|
||||
uint32 Lua_ItemInst::GetAugmentType() {
|
||||
Lua_Safe_Call_Int();
|
||||
return self->GetAugmentType();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user