Fix sheep not regrow wool if mobs_griefing=false

This commit is contained in:
Wuzzy 2019-09-10 17:09:17 +02:00
parent 8618b42bc7
commit 9416305fa6
2 changed files with 7 additions and 5 deletions

View file

@ -243,8 +243,9 @@ eating.
'replace_rate' how random should the replace rate be (typically 10)
'replace_offset' +/- value to check specific node to replace
'on_replace(self, pos, oldnode, newnode)' is called when mob is about to
replace a node.
'on_replace(self, pos, oldnode, newnode)'
is called when mob is about to replace a node. Also called
when not actually replacing due to mobs_griefing setting being false.
'self' ObjectRef of mob
'pos' Position of node to replace
'oldnode' Current node