Update SugarCaneMiner.cs (#1156)

Fix
This commit is contained in:
Рома Данилов 2020-07-30 00:52:15 +05:00 committed by GitHub
parent e91fefadb3
commit b5c7dc4fc4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,9 +21,7 @@ public class SugarCaneMiner : ChatBot
{ {
if (DetectSugarCane(sugarCane, fullHeight)) if (DetectSugarCane(sugarCane, fullHeight))
{ {
DigBlock(0, sugarCane, 1); DigBlock(sugarCane);
Thread.Sleep(1);
DigBlock(2, sugarCane, 1);
} }
} }
@ -48,4 +46,4 @@ public class SugarCaneMiner : ChatBot
} }
return false; return false;
} }
} }