mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 20:49:43 +00:00
beta 2
This commit is contained in:
parent
0f84d692b7
commit
96de82b260
2 changed files with 1 additions and 2 deletions
|
|
@ -47,7 +47,7 @@ set_include_path(get_include_path() . PATH_SEPARATOR . FILE_PATH);
|
||||||
ini_set("memory_limit", "256M"); //Default
|
ini_set("memory_limit", "256M"); //Default
|
||||||
define("LOG", true);
|
define("LOG", true);
|
||||||
define("START_TIME", microtime(true));
|
define("START_TIME", microtime(true));
|
||||||
define("MAJOR_VERSION", "1.1.0dev");
|
define("MAJOR_VERSION", "1.1.0beta2");
|
||||||
define("CODENAME", "懐かしさ (Nostalgia)"); //i'm not very creative - kotyaralih
|
define("CODENAME", "懐かしさ (Nostalgia)"); //i'm not very creative - kotyaralih
|
||||||
define("CURRENT_MINECRAFT_VERSION", "v0.8.1 alpha");
|
define("CURRENT_MINECRAFT_VERSION", "v0.8.1 alpha");
|
||||||
define("CURRENT_API_VERSION", '12.1');
|
define("CURRENT_API_VERSION", '12.1');
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,6 @@ class TaskAttackPlayer extends TaskBase
|
||||||
if($dist <= $v1){
|
if($dist <= $v1){
|
||||||
if($this->attackCounter <= 0){
|
if($this->attackCounter <= 0){
|
||||||
$this->attackCounter = $e->attackEntity($t, sqrt($dist)) ? 20 : 0;
|
$this->attackCounter = $e->attackEntity($t, sqrt($dist)) ? 20 : 0;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue