Removed KiwiIRC chat, use official freenode webirc

This commit is contained in:
Shoghi Cervantes 2013-12-04 18:19:39 +01:00
parent 3cffa66490
commit 14e1dda327
3 changed files with 4 additions and 5 deletions

View File

@ -34,8 +34,7 @@ The entire server is done in PHP, and has been tested, profiled and optimized to
### [Twitter @PocketMine](https://twitter.com/PocketMine) ### [Twitter @PocketMine](https://twitter.com/PocketMine)
## IRC Chat #pocketmine (or #mcpedevs) @ irc.freenode.net ## IRC Chat #pocketmine (or #mcpedevs) @ irc.freenode.net
[![#pocketmine channel WebIRC](https://kiwiirc.com/buttons/chat.freenode.net/pocketmine.png)](https://kiwiirc.com/client/chat.freenode.net/#pocketmine) [#pocketmine + #mcpedevs channel WebIRC](http://webchat.freenode.net/?channels=pocketmine,mcpedevs)
[![#mcpedevs channel WebIRC](https://kiwiirc.com/buttons/chat.freenode.net/mcpedevs.png)](https://kiwiirc.com/client/chat.freenode.net/#mcpedevs)
## Third-party Libraries/Protocols Used ## Third-party Libraries/Protocols Used

View File

@ -315,9 +315,7 @@ class PMFLevel extends PMF{
$aX = $x - ($X << 4); $aX = $x - ($X << 4);
$aZ = $z - ($Z << 4); $aZ = $z - ($Z << 4);
$aY = $y - ($Y << 4); $aY = $y - ($Y << 4);
$b = ord($this->chunks[$index] $b = ord($this->chunks[$index][$Y]{(int) ($aY + ($aX << 5) + ($aZ << 9))});
[$Y]
{(int) ($aY + ($aX << 5) + ($aZ << 9))});
return $b; return $b;
} }

View File

@ -154,6 +154,7 @@ class NBT{
$this->parseTree($value); $this->parseTree($value);
break; break;
default: default:
echo bin2hex(substr($this->binary, $this->offset - 1)).PHP_EOL.PHP_EOL;
die("Invalid NBT Tag $tag"); die("Invalid NBT Tag $tag");
break; break;
} }
@ -198,6 +199,7 @@ class NBT{
$this->parseTree($value); $this->parseTree($value);
break; break;
default: default:
echo bin2hex(substr($this->binary, $this->offset - 1)).PHP_EOL.PHP_EOL;
die("Invalid NBT Tag $tag"); die("Invalid NBT Tag $tag");
break; break;
} }