Disable grass spread functions for snowed dirtlike

This commit is contained in:
Wuzzy 2017-09-08 00:13:20 +02:00
parent 5c906f4af6
commit 3db3193494
1 changed files with 3 additions and 0 deletions

View File

@ -1131,6 +1131,9 @@ mcl_core.register_snowed_node = function(itemstring_snowed, itemstring_clear, ti
-- Enderman must never take this because this block is supposed to be always buried below snow.
def.groups.enderman_takable = nil
-- Snowed blocks never spread
def.groups.spreading_dirt_type = nil
-- Add the clear node to the item definition for easy lookup
def._mcl_snowless = itemstring_clear