We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0cb26b commit c530e48Copy full SHA for c530e48
src/legacy/events/EventHooks.cpp
@@ -789,8 +789,9 @@ LL_TYPE_INSTANCE_HOOK(
789
EVENT_TYPES::onPlayerPullFishingHook,
790
PlayerClass::newPlayer(this->getPlayerOwner()),
791
EntityClass::newEntity(&inEntity),
792
- inEntity.isType(ActorType::ItemEntity) ? ItemClass::newItem(&static_cast<ItemActor&>(inEntity).item(), true)
793
- : Local<Value>()
+ inEntity.isType(ActorType::ItemEntity)
+ ? ItemClass::newItem(&static_cast<ItemActor&>(inEntity).item(), false)
794
+ : Local<Value>()
795
);
796
}
797
IF_LISTENED_END(EVENT_TYPES::onPlayerPullFishingHook);
0 commit comments