0.18.1 update

This commit is contained in:
ZHAY10086
2025-06-21 21:33:37 +08:00
parent 147afd6157
commit 81144fec1c
393 changed files with 18219 additions and 2920 deletions
@@ -157,7 +157,7 @@ function setPortalProps(block as Block) as Block {
// Based off end portal logic.
function setPortalLogic(block as Block, dimId as int, inSpace as bool) as Block {
block.onEntityCollidedWithBlock = function(world, pos, state, entity) {
if (world.isRemote() || world.time % 20 != 0 || !(entity instanceof IPlayer)) {
if (world.isRemote() || entity.world.time % 20 != 0 || !(entity instanceof IPlayer)) {
return;
}
var player as IPlayer = entity;