Carts: Take creative mode into account
authorDiego Martínez <lkaezadl3@yahoo.com>
Sun, 27 Nov 2016 06:02:38 +0000 (03:02 -0300)
committerparamat <mat.gregory@virginmedia.com>
Mon, 28 Nov 2016 01:27:54 +0000 (01:27 +0000)
commit788ae97ba17891aea44c81adc269c88ea6f18c90
treee4ce7b6bc27b7a22bfc90d4f91a4a2bdc83f6a7c
parent1a6ad498d74f5130a18c0563c99cde149aafc3b6
Carts: Take creative mode into account

This commit makes the carts mod not add the cart
item to the player's inventory if running with
creative mode and the player already has it.
mods/carts/cart_entity.lua