removed some debug stuff i left

This commit is contained in:
GameHerobrine 2022-12-21 00:00:05 +03:00
parent fc2fa6d2f8
commit 8b036abf8e
2 changed files with 0 additions and 3 deletions

View file

@ -28,7 +28,6 @@ class Explosion{
} }
public function explode(){ public function explode(){
console("a");
if(!Explosion::$enableExplosions){ /*Disable Explosions*/ if(!Explosion::$enableExplosions){ /*Disable Explosions*/
return; return;
} }
@ -41,7 +40,6 @@ class Explosion{
]) === false){ ]) === false){
return false; return false;
} }
console("b");
$mRays = $this->rays - 1; $mRays = $this->rays - 1;
for($i = 0; $i < $this->rays; ++$i){ for($i = 0; $i < $this->rays; ++$i){
for($j = 0; $j < $this->rays; ++$j){ for($j = 0; $j < $this->rays; ++$j){

View file

@ -262,7 +262,6 @@ class Level{
public function onTick(PocketMinecraftServer $server){ public function onTick(PocketMinecraftServer $server){
//$ents = $server->api->entity->getAll($this); //$ents = $server->api->entity->getAll($this);
if(!$this->stopTime) ++$this->time; if(!$this->stopTime) ++$this->time;
ConsoleAPI::debug($this->getTime());
foreach($this->entityList as $k => $e){ foreach($this->entityList as $k => $e){
if(!($e instanceof Entity)){ if(!($e instanceof Entity)){
unset($this->entityList[$k]); unset($this->entityList[$k]);