From e2dae67a1c468800fa905fabe483d9079174c1e6 Mon Sep 17 00:00:00 2001 From: Sunch <120295462+Sunch233@users.noreply.github.com> Date: Sat, 17 Aug 2024 20:02:17 +0800 Subject: [PATCH] Unnecessary ";" --- src/API/PluginAPI.php | 4 ++-- src/material/block/StairBlock.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/API/PluginAPI.php b/src/API/PluginAPI.php index f50e4f2e..a9eb0158 100644 --- a/src/API/PluginAPI.php +++ b/src/API/PluginAPI.php @@ -55,8 +55,8 @@ class PluginAPI extends stdClass{ return; } foreach($this->plugins as $p){ - if(method_exists($p[0], "__destruct")){$p[0]->__destruct();}; - } + if(method_exists($p[0], "__destruct")){$p[0]->__destruct();} + } unset($this->plugins); } diff --git a/src/material/block/StairBlock.php b/src/material/block/StairBlock.php index 7cf46948..4a29e2a4 100644 --- a/src/material/block/StairBlock.php +++ b/src/material/block/StairBlock.php @@ -80,7 +80,7 @@ class StairBlock extends TransparentBlock{ for($v15 = 0; $v15 < /*count($v11}*/ 2; ++$v15){ $v16 = $v11[$v15]; if($v16 == $v12){ - ; //wat + //wat } }