mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
6d5e34702e
4 changed files with 4 additions and 18 deletions
14
.travis.yml
14
.travis.yml
|
|
@ -1,14 +0,0 @@
|
|||
language: php
|
||||
|
||||
php:
|
||||
- 5.4
|
||||
|
||||
before_script:
|
||||
- pecl install channel://pecl.php.net/pthreads-0.0.44
|
||||
|
||||
script:
|
||||
- php src/tests/ServerSuiteTest.php
|
||||
|
||||
notifications:
|
||||
email: false
|
||||
webhooks: http://n.tkte.ch/h/214/wsNvmG43-ncxUVRrFPwSM-r0
|
||||
|
|
@ -32,7 +32,7 @@ Supported MCPI & MCPE versions: 0.3.0 ~ 0.8.1 (maybe 0.8.2)
|
|||
|
||||
<h3> Download Stable NostalgiaCore</h3>
|
||||
|
||||
https://github.com/kotyaralih/NostalgiaCore/releases/
|
||||
https://github.com/oldminecraftcommunity/NostalgiaCore/releases/
|
||||
|
||||
<h3> PHP binaries download</h3>
|
||||
|
||||
|
|
|
|||
|
|
@ -1518,7 +1518,7 @@ class Entity extends Position
|
|||
$this->knockBack($d, $d1);
|
||||
if($this->isPlayer()){
|
||||
$pk = new SetEntityMotionPacket();
|
||||
$pk->eid = 0;
|
||||
$pk->eid = $this->eid;
|
||||
$pk->speedX = $this->speedX;
|
||||
$pk->speedY = $this->speedY;
|
||||
$pk->speedZ = $this->speedZ;
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@ class Explosion{
|
|||
|
||||
if($entity->isPlayer()){
|
||||
$pk = new SetEntityMotionPacket();
|
||||
$pk->eid = 0; //XXX change
|
||||
$pk->eid = $entity->eid; //XXX change
|
||||
$pk->speedX = $entity->speedX;
|
||||
$pk->speedY = $entity->speedY;
|
||||
$pk->speedZ = $entity->speedZ;
|
||||
|
|
@ -168,7 +168,7 @@ class Explosion{
|
|||
|
||||
if($entity->isPlayer()){
|
||||
$pk = new SetEntityMotionPacket();
|
||||
$pk->eid = 0; //XXX change
|
||||
$pk->eid = $entity->eid; //XXX change
|
||||
$pk->speedX = $entity->speedX;
|
||||
$pk->speedY = $entity->speedY;
|
||||
$pk->speedZ = $entity->speedZ;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue