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.
- package/README.md +3 -0
- package/index.js +2 -2
- 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.
|
|
71
|
+
console.trace('Warning: entity.mobType is deprecated. Use entity.displayName instead')
|
|
72
72
|
}
|
|
73
73
|
function printObjectTypeWarning () {
|
|
74
|
-
console.
|
|
74
|
+
console.trace('Warning: entity.objectType is deprecated. Use entity.displayName instead')
|
|
75
75
|
}
|