prismarine-entity 2.3.0 → 2.3.1

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.
Files changed (3) hide show
  1. package/README.md +3 -0
  2. package/index.js +2 -2
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -144,6 +144,9 @@ returns a `prismarine-item` Item object for the dropped item, if this is a dropp
144
144
 
145
145
  ## History
146
146
 
147
+ ### 2.3.1
148
+ * [Use console.trace instead of console.log for deprecation message (#71)](https://github.com/PrismarineJS/prismarine-entity/commit/7262fcf02d6656c663f876d513d84cc7266a3903) (thanks @extremeheat)
149
+
147
150
  ### 2.3.0
148
151
  * [Add default elytra flying value (#69)](https://github.com/PrismarineJS/prismarine-entity/commit/f124abd47b42a908a676b91b0fcb55b1fd1a77b9) (thanks @lkwilson)
149
152
  * [Fix equipment documentation for other versions (#67)](https://github.com/PrismarineJS/prismarine-entity/commit/b2f756de52fa7ceb2675fe9c2f950fa7398bc425) (thanks @IceTank)
package/index.js CHANGED
@@ -68,8 +68,8 @@ module.exports = (registryOrVersion) => {
68
68
  return Entity
69
69
  }
70
70
  function printMobTypeWarning () {
71
- console.log('Warning: entity.mobType is deprecated. Use entity.displayName instead')
71
+ console.trace('Warning: entity.mobType is deprecated. Use entity.displayName instead')
72
72
  }
73
73
  function printObjectTypeWarning () {
74
- console.log('Warning: entity.objectType is deprecated. Use entity.displayName instead')
74
+ console.trace('Warning: entity.objectType is deprecated. Use entity.displayName instead')
75
75
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prismarine-entity",
3
- "version": "2.3.0",
3
+ "version": "2.3.1",
4
4
  "description": "Represent a minecraft entity",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",