Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Master to blocks #1

Open
wants to merge 63 commits into
base: api3/blocks
Choose a base branch
from
Open

Master to blocks #1

wants to merge 63 commits into from

Conversation

markkrueg
Copy link
Owner

Introduction

Relevant issues

Changes

API changes

Behavioural changes

Backwards compatibility

Follow-up

Tests

dktapps and others added 30 commits July 30, 2017 17:22
Not up to the task of implementing rail connectivity today, some other time
must be < 2 blocks from either half of the bed
Liquid still needs a total rewrite, but at least it won't constantly waste CPU anymore.
way too fast to grow back though :S
dktapps and others added 30 commits August 4, 2017 13:17
 $ shopt -s globstar
 $ sed -i 's/[ \t]*$//' src/pocketmine/*/**.php

:P
- Fixed log writes being blocking (these were executed on a thread, but IN A SYNCHRONIZED BLOCK - what the fuck shoghi?!)
- Fixed log file being open for reading as well as writing
- The logger will now be buffered for 25ms before writing to disk, as it should have been to begin with.
- Moved the log resource to a local variable (it's unsafe to try to access resources from different threads, this takes away the ability to do so)
- Fixed line endings to use PHP_EOL instead of hardcoded LF, fix viewing logs in Notepadi
* Do not create new NBT objects on Tile::getSpawnCompound()

* PocketMine's string formatting

* Remove more useless array indices and create lesser new NBT objects.

* Remove unused imports and type-hint Sign::setText() params

* Do not mess with Sign::setText() params due to pmmp#1204

* Fix formatting

* Make getSpawnCompound() final and add abstract addAdditionalSpawnData()

* Make the same changes for Bed tile

* Fix a missing "->" and remove some unneeded int casting.
Close pmmp#879, close pmmp#431

This will be solved properly in 1.2 when creative transactions are
actually trackable. For now... HACK!
PhpStorm, pls tell me why you only found this _now_ and not back in January when I started using PhpStorm...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants