Skip to content

Commit 4e3427f

Browse files
committed
fix example
1 parent 2e7753f commit 4e3427f

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

examples/postInit/vanilla.groovy

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,6 @@ import net.minecraftforge.event.entity.living.EnderTeleportEvent
55
import net.minecraftforge.event.world.BlockEvent
66
import net.minecraft.util.text.TextComponentString
77

8-
import java.time.LocalDate
9-
10-
/*
11-
def time = LocalDate.now()
12-
log.info('{} {}', time.month, time.dayOfMonth)
13-
14-
def f = file('config/groovyscript.cfg')
15-
log.info(f)
16-
log.info(f.text)
17-
f = new File('config/groovyscript.cfg')
18-
log.info(f)
19-
log.info(f.text)
20-
*/
21-
22-
*/
238
def ore_iron = ore('ingotIron')
249
def item_iron = item('minecraft:iron_ingot')
2510
log.info(item_iron in ore_iron) // true

0 commit comments

Comments
 (0)