mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Fixed issues with DevTools
This commit is contained in:
parent
7865b8dbe5
commit
673515bc06
3 changed files with 129 additions and 125 deletions
|
|
@ -32,7 +32,7 @@ class NBT {
|
|||
trigger_error("First parameter must be a filename", E_USER_WARNING);
|
||||
return false;
|
||||
}
|
||||
switch(basename($filename, ".dat")){
|
||||
switch(basename(strtolower($filename), ".dat")){
|
||||
case "level":
|
||||
$version = Utils::readLInt(fread($fp, 4));
|
||||
$lenght = Utils::readLInt(fread($fp, 4));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue