notherbase-fs 3.0.5 → 3.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "notherbase-fs",
3
- "version": "3.0.5",
3
+ "version": "3.0.6",
4
4
  "description": "Functions to help make developing for NotherBase easier.",
5
5
  "exports": "./notherbase-fs.js",
6
6
  "scripts": {
@@ -289,7 +289,7 @@ class Base {
289
289
  }
290
290
 
291
291
  do = async (what, data = null, route = window.location.pathname) => {
292
- let response = await Base.commune("/s/serve", {
292
+ let response = Base.commune("/s/serve", {
293
293
  script: what,
294
294
  ...data
295
295
  }, {
@@ -299,6 +299,7 @@ class Base {
299
299
  this.playerInventory.refresh();
300
300
  this.playerAttributes.refresh();
301
301
 
302
+ await response;
302
303
  return response;
303
304
  }
304
305