3.1.5 fix events.connect/events.connection mismatch
This commit is contained in:
parent
734e058e9a
commit
10497efae3
3 changed files with 10 additions and 1 deletions
|
@ -1 +1 @@
|
||||||
scriptcraft-version=3.1.4
|
scriptcraft-version=3.1.5
|
||||||
|
|
|
@ -1,6 +1,11 @@
|
||||||
RELEASE NOTES
|
RELEASE NOTES
|
||||||
=============
|
=============
|
||||||
|
|
||||||
|
3.1.5 Release (2015 05 31)
|
||||||
|
--------------------------
|
||||||
|
CanaryMod version : Add events.connect as synonym for events.connnection for backward-compatibility
|
||||||
|
with 1.7.9 and book listings.
|
||||||
|
|
||||||
3.1.4 Release (2015 05 09)
|
3.1.4 Release (2015 05 09)
|
||||||
--------------------------
|
--------------------------
|
||||||
Various bug fixes and new 'inventory' module.
|
Various bug fixes and new 'inventory' module.
|
||||||
|
|
|
@ -99,6 +99,10 @@ var helper;
|
||||||
if (__plugin.canary){
|
if (__plugin.canary){
|
||||||
module.exports = require('events-canary');
|
module.exports = require('events-canary');
|
||||||
helper = require('events-helper-canary');
|
helper = require('events-helper-canary');
|
||||||
|
// backwards-compatibility with canarymod 1.7.9 for book listings
|
||||||
|
if (helper.connection && !helper.connect){
|
||||||
|
helper.connect = helper.connection;
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
module.exports = require('events-bukkit');
|
module.exports = require('events-bukkit');
|
||||||
helper = require('events-helper-bukkit');
|
helper = require('events-helper-bukkit');
|
||||||
|
|
Reference in a new issue