notherbase-fs 3.0.7 → 3.0.8

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.7",
3
+ "version": "3.0.8",
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 = Base.commune("/s/serve", {
292
+ let response = await Base.commune("/s/serve", {
293
293
  script: what,
294
294
  ...data
295
295
  }, {
@@ -298,8 +298,7 @@ class Base {
298
298
 
299
299
  this.playerInventory.refresh();
300
300
  this.playerAttributes.refresh();
301
-
302
- await response;
301
+
303
302
  return response;
304
303
  }
305
304