Title: Restoring inventory from variable · Issue #35 · SkQuery/SkQuery · GitHub
Open Graph Title: Restoring inventory from variable · Issue #35 · SkQuery/SkQuery
X Title: Restoring inventory from variable · Issue #35 · SkQuery/SkQuery
Description: Description set {staffinv::%uuid of player%::inventory} to the player's serialized inventory works just fine, but when you restore the inventory using restore inventory of player from {staffinv::%uuid of player%::inventory} it doesn't do...
Open Graph Description: Description set {staffinv::%uuid of player%::inventory} to the player's serialized inventory works just fine, but when you restore the inventory using restore inventory of player from {staffinv::%u...
X Description: Description set {staffinv::%uuid of player%::inventory} to the player's serialized inventory works just fine, but when you restore the inventory using restore inventory of player from {staffinv...
Opengraph URL: https://github.com/SkQuery/SkQuery/issues/35
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Restoring inventory from variable","articleBody":"### Description\r\n```set {staffinv::%uuid of player%::inventory} to the player's serialized inventory``` works just fine, but when you restore the inventory using ```restore inventory of player from {staffinv::%uuid of player%::inventory}``` it doesn't do anything and prints out the error below.\r\n### Steps to Reproduce\r\n```\r\ncommand /sm:\r\n\ttrigger:\r\n\t\tif {staffmode::%uuid of player%} is not set:\r\n\t\t\tset {staffmode::%uuid of player%} to true\r\n\t\t\tset {staffinv::%uuid of player%::inventory} to the player's serialized inventory\r\n\t\t\twait 1 tick\r\n\t\t\tclear player's inventory\r\n\t\t\tmessage \"Turned on\"\r\n\t\telse:\r\n\t\t\tdelete {staffmode::%uuid of player%}\r\n\t\t\tmessage \"Turned off\"\r\n\t\t\trestore inventory of player from {staffinv::%uuid of player%::inventory}\r\n```\r\n\r\n### Expected Behavior\r\nI expected it to actually restore the inventory.\r\n\r\n### Errors / Screenshots\r\nhttps://paste.gg/p/anonymous/eafb559482d540ffb6990b4e633b6a89\r\n\r\n### Server Information\r\n**Server version/platform:** Paper-143\r\n**Skript version:** Skript 2.4.1\r\n**SkQuery version:** SkQuery 3.6.5\r\n***","author":{"url":"https://github.com/fredagsguf","@type":"Person","name":"fredagsguf"},"datePublished":"2020-03-21T17:29:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/35/SkQuery/issues/35"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:3dbdbefb-83da-ca39-4345-0234342667f1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EAD4:25317C:872468:928D82:698FA632 |
| html-safe-nonce | c2374c383da5407f59e479c0470ef58963f4e17ad179e8fd41c09ac4aaf1b39b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQUQ0OjI1MzE3Qzo4NzI0Njg6OTI4RDgyOjY5OEZBNjMyIiwidmlzaXRvcl9pZCI6IjQxNTI2NDY3NDMzNTkyNTgxMCIsInJlZ2lvbl9lZGdlIjoic2VhIiwicmVnaW9uX3JlbmRlciI6InNlYSJ9 |
| visitor-hmac | bc0ef41086cd59b77e210693b1884bc1a3ad60c5756624aa1f535fe20cd501b8 |
| hovercard-subject-tag | issue:585542998 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/SkQuery/SkQuery/35/issue_layout |
| twitter:image | https://opengraph.githubassets.com/87e13c37f26b843fde7ce765e60dde92ce4667e75bfee1ea6b7f099ba689ddc4/SkQuery/SkQuery/issues/35 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/87e13c37f26b843fde7ce765e60dde92ce4667e75bfee1ea6b7f099ba689ddc4/SkQuery/SkQuery/issues/35 |
| og:image:alt | Description set {staffinv::%uuid of player%::inventory} to the player's serialized inventory works just fine, but when you restore the inventory using restore inventory of player from {staffinv::%u... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | fredagsguf |
| hostname | github.com |
| expected-hostname | github.com |
| None | ff0b5286b4f7cd2eb22d357a0ae8fb9a0ae1eaf6abfbae7410c3b315d16414e1 |
| turbo-cache-control | no-preview |
| go-import | github.com/SkQuery/SkQuery git https://github.com/SkQuery/SkQuery.git |
| octolytics-dimension-user_id | 48852184 |
| octolytics-dimension-user_login | SkQuery |
| octolytics-dimension-repository_id | 63517158 |
| octolytics-dimension-repository_nwo | SkQuery/SkQuery |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 55411006 |
| octolytics-dimension-repository_parent_nwo | RealGatt/skquery |
| octolytics-dimension-repository_network_root_id | 21485706 |
| octolytics-dimension-repository_network_root_nwo | btk5h/skquery |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5268d66f533eb3b2e65a6a398a739f35827fd64a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width