Skip to content

Commit af3283c

Browse files
committed
Fix method
1 parent c515dd6 commit af3283c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/resources/forge-1.15.2/templates/dimension/blockportal.java.ftl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public class ${name}PortalBlock extends NetherPortalBlock {
4444
RenderTypeLookup.setRenderLayer(${JavaModName}Blocks.${REGISTRYNAME}_PORTAL.get(), RenderType.getCutout());
4545
}
4646

47-
@Override public void randomTick(BlockState blockstate, World world, BlockPos pos, Random random) {
47+
@Override public void randomTick(BlockState blockstate, ServerWorld world, BlockPos pos, Random random) {
4848
<#-- Do not call super to prevent ZOMBIFIED_PIGLINs from spawning -->
4949
<#if hasProcedure(data.onPortalTickUpdate)>
5050
<@procedureCode data.onPortalTickUpdate, {

0 commit comments

Comments
 (0)