est31 836486a98e Fix crash regression when invsize formspec gets used
The invsize formspec element is outdated. Even though,
it is still supported, only a deprecation warning is shown,
introduced by commit [1]. The lua context passed to the
log_deprecated method added by commit [1] is NULL for the
invsize deprecation warning, as its run on the client and not
the server.

Commit [1] has removed checks for NULL inside the log_deprecated
method, resulting in a crash when a formspec with an invsize
element is parsed. This commit puts the check back.

Fixes #3260.

Referenced commits:

[1]: b5acec0a3c5701c53854ff7afdf4008863e6e8df "Add proper lua api deprecated handling"

[2]: 7b8d372947aae232ddf598155e972bb4dda157a "Use warningstream for deprecated field messages and refactor log_deprecated"
2015-10-17 01:29:05 +02:00
..
2015-10-14 01:03:54 -04:00
2015-05-12 21:07:46 +02:00
2015-05-12 21:07:46 +02:00
2015-03-27 15:00:48 -04:00
2015-10-14 01:03:54 -04:00
2015-02-17 15:07:05 +01:00
2015-07-27 06:42:56 +02:00
2015-07-27 06:42:56 +02:00
2015-08-23 22:04:06 -04:00
2015-07-21 23:56:41 +02:00
2015-08-23 22:04:06 -04:00
2015-10-06 06:43:04 +01:00
2015-08-02 14:27:04 +02:00
2015-04-20 22:48:14 -04:00
2015-08-25 18:33:52 -04:00
2015-10-14 01:03:54 -04:00
2015-10-14 01:03:54 -04:00
2015-06-27 03:42:01 +02:00
2015-06-27 03:42:01 +02:00
2015-08-25 18:33:52 -04:00
2015-07-09 01:52:28 +02:00
2015-08-25 18:33:52 -04:00
2015-07-08 10:12:44 +02:00
2015-10-14 01:03:54 -04:00
2015-07-23 07:38:13 +02:00
2015-10-14 01:03:54 -04:00
2015-08-25 18:33:52 -04:00
2015-10-15 01:16:10 -04:00
2015-10-15 01:16:10 -04:00
2015-03-25 02:30:17 +10:00
2015-07-23 07:38:13 +02:00
2015-06-16 14:51:26 +02:00
2015-08-25 18:33:52 -04:00
2015-07-23 07:38:13 +02:00
2015-08-25 18:33:52 -04:00
2015-07-08 10:12:44 +02:00
2014-01-13 18:11:08 -05:00
2015-08-25 18:33:52 -04:00
2015-08-19 03:42:00 +02:00
2015-08-25 18:33:52 -04:00
2014-06-29 18:17:56 +02:00
2014-12-31 02:44:31 +10:00
2015-10-14 01:03:54 -04:00
2015-10-14 01:03:54 -04:00
2015-10-04 16:27:50 -04:00
2015-08-25 18:33:52 -04:00
2015-07-27 11:06:46 -04:00
2015-09-16 17:39:49 +02:00
2015-08-25 18:33:52 -04:00
2015-07-21 23:56:41 +02:00
2015-08-23 22:04:06 -04:00
2015-09-19 02:27:00 +01:00
2015-09-17 03:04:50 -04:00
2015-10-14 01:03:54 -04:00
2015-08-23 22:04:06 -04:00
2015-08-25 18:33:52 -04:00
2015-08-12 11:36:22 +02:00
2015-08-25 18:33:52 -04:00
2015-08-23 22:04:06 -04:00
2015-08-25 18:33:52 -04:00
2015-08-23 22:04:06 -04:00
2015-08-23 22:04:06 -04:00
2014-06-29 18:17:56 +02:00
2015-09-06 11:21:26 +02:00
2015-08-23 22:04:06 -04:00
2015-08-23 22:04:06 -04:00
2014-11-19 16:21:59 -05:00
2015-08-25 18:33:52 -04:00
2014-09-20 14:02:54 -04:00
2015-08-23 22:04:06 -04:00
2015-08-25 18:33:52 -04:00
2015-01-23 21:38:34 +10:00
2015-08-25 18:33:52 -04:00
2015-08-23 22:04:06 -04:00
2015-08-25 18:33:52 -04:00
2014-06-15 05:40:33 +02:00
2015-08-23 22:04:06 -04:00
2015-08-25 18:33:52 -04:00
2015-08-25 18:33:52 -04:00
2015-03-27 15:00:48 -04:00
2015-07-21 23:56:41 +02:00