diff options
Diffstat (limited to 'src/server/events/CreateBlock.cpp')
-rw-r--r-- | src/server/events/CreateBlock.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/events/CreateBlock.cpp b/src/server/events/CreateBlock.cpp index 255746b1..db561e1c 100644 --- a/src/server/events/CreateBlock.cpp +++ b/src/server/events/CreateBlock.cpp @@ -95,10 +95,10 @@ CreateBlock::pre_process(PreProcessContext& ctx) p->second.get<int32_t>()); // Find and instantiate/duplicate prototype (plugin/existing node) - if (Node::uri_is_path(prototype)) { + if (uri_is_path(prototype)) { // Prototype is an existing block BlockImpl* const ancestor = dynamic_cast<BlockImpl*>( - store->get(Node::uri_to_path(prototype))); + store->get(uri_to_path(prototype))); if (!ancestor) { return Event::pre_process_done(Status::PROTOTYPE_NOT_FOUND, prototype); } else if (!(_block = ancestor->duplicate( |