update 0.18.1

This commit is contained in:
sainagh
2025-06-18 18:26:57 -07:00
parent e40d3983b9
commit 393809f13f
11335 changed files with 20130 additions and 79017 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;