Dylan K. Taylor
1c3d89cfef
Fixed lighting issues with subchunks containing no blocks
...
A subchunk with no blocks is not necessarily empty.
2017-03-29 11:34:43 +01:00
madecode15
c84ec90398
Set forceMovement to null when player is closed ( #472 )
...
Cater for the very very very slim chance that a player could quit while teleporting, be leaked and then have their level unloaded and leak their level.
2017-03-29 09:20:31 +01:00
Dylan K. Taylor
2079e2fd88
Fixed entity visibility Player object memory leak, close #416
2017-03-28 12:26:02 +01:00
Dylan K. Taylor
217f66e180
Removed redundant method override leftover from 0.15
2017-03-28 12:25:54 +01:00
Dylan K. Taylor
1da870b298
Measure block break times in ticks instead of floating-point real-time
2017-03-26 10:36:19 +01:00
Dylan K. Taylor
7a36d80384
Fixed broken block-break timer logic causing creative players to be unable to remove fire after breaking blocks
...
This also causes some annoying issues with instabreak (false positives). Shoghi dude, this did _not_ fix those issues, only hid them and replaced them with different ones.
2017-03-26 10:36:19 +01:00
jasonwynn10
b9dfc7551a
Added Permission to bypass spawn protection, close #440 ( #451 )
2017-03-25 20:34:42 +00:00
Dylan K. Taylor
839a2ce07e
Merge branch 'patch-4' of https://github.com/SOF3/PocketMine-MP-Original
2017-03-25 16:58:46 +00:00
Dylan K. Taylor
34f833fa79
Do not save empty inventory slots
2017-03-25 12:02:09 +00:00
Dylan K. Taylor
c9cf3d5aa4
Throw an exception when something attempts to serialize Server ( #459 )
2017-03-25 10:33:05 +00:00
Dylan K. Taylor
5332887a0a
Fixed command name case sensitivity issue noted in #462
2017-03-25 10:26:06 +00:00
Dylan K. Taylor
5926bab323
Block light bug fixes ( #454 )
...
* Fixed an age-old light calculation bug causing solid blocks to filter their own light, fixed #375 , probably fixed #288
Light spread reduction should be done based on the _target's_ light filter level, not the source.
* Revert "Fix Glowing Obsidian lighting"
This hack is no longer necessary.
This reverts commit 35c33ba980887e9680d62bbcb65f8537bb063f2c.
* Fixed wrong light levels for torch and redstone torch
* Take adjacent light levels and opacity changes into account, block light will now spread when an obstruction is removed, close #455
* Added timings for Level->setBlock() and lighting updates
2017-03-24 17:56:26 +00:00
Dylan K. Taylor
0750b3ab59
Added pocketmine.yml option to disable the title ticker ( #447 )
...
This gets really spammy on some consoles when you stick it in the background, but I don't want to lose colour for the sake of that.
2017-03-24 16:03:10 +00:00
Dylan K. Taylor
96801be3d3
Fixed #453 multiple refs to the same cached NBT object tree
2017-03-23 11:40:49 +00:00
Dylan K. Taylor
c040579e09
Fixed a mistake in spaced command handling
...
Nothing drastic, just a self-defeating line of code.
2017-03-21 15:11:48 +00:00
Dylan K. Taylor
47f7af6739
Fixed usage reporting cannot be disabled
2017-03-20 21:26:20 +00:00
Dylan K. Taylor
b7a3230f73
Fixed botched effect override condition for equivalent amplifiers
2017-03-20 18:56:54 +00:00
Irish
06f2a9c674
Fix client-side death bug ( #438 )
2017-03-20 12:21:58 +00:00
Dylan K. Taylor
2673e4de7f
More anti-leak measures for double chest inventory issues
2017-03-19 11:25:56 +00:00
Dylan K. Taylor
4c61ad9f2d
Stop skipping stack frames ( #425 )
2017-03-19 10:24:33 +00:00
Irish
66fbfdd47b
Fixed hunger not saving, resolves 1 of #435 ( #439 )
2017-03-18 21:58:02 +00:00
Dylan K. Taylor
116cba9fae
Added expected and actual result questions to issue template
2017-03-18 15:32:58 +00:00
Dylan K. Taylor
6e1abe7b15
Fixed some formatting issues in FlowerPot
2017-03-18 14:24:23 +00:00
Dylan K. Taylor
cbb003bf29
Guard against leaked closed tiles leaking chunks and NBT trees
...
Once again, this does not fix the actual issue, only reduces the impact of it.
2017-03-18 11:50:05 +00:00
Dylan K. Taylor
fa5e66478c
Auto update checks are now asynchronous, improves startup time ( #433 )
2017-03-17 14:43:12 +00:00
Dylan K. Taylor
bcbb5de5bb
Added reference parameters for errors for Utils::getURL() and Utils::postURL(), close #332 ( #357 )
2017-03-16 19:15:31 +00:00
Luke | 13
548df21645
Small docs fix ( #432 )
2017-03-16 18:19:30 +00:00
Dylan K. Taylor
a8650a241c
Removed @deprecated warning from PlayerInventory->setHotbarSlotIndex()
...
Core uses it, it's just that plugins shouldn't.
2017-03-14 17:37:29 +00:00
Dylan K. Taylor
d26713ab59
Use assoc instead of object for command data, fix data modifications affecting all commands
...
how did I do manage to do somthing this stupid -_- smh what an idiot
Lucky permission is a root node, or the whole commands system would've been compromised. Epic fail.
2017-03-14 11:39:59 +00:00
Dylan K. Taylor
3138e02acb
Added support for commands with spaces in their names ( #422 )
2017-03-13 20:55:06 +00:00
Dylan K. Taylor
d264a04db4
Added detection for recursive server aliases ( #424 )
...
* Added detection for recursive server aliases, close #423
* Oops
2017-03-13 20:43:34 +00:00
Dylan K. Taylor
92193fd27b
Use entity IDs in EntityDamageBy*EntityEvents, fixed memory leaks related to PvP/PvE/PvM ( #418 )
2017-03-13 10:30:31 +00:00
Dylan K. Taylor
083d1e9ef8
Deprecated Item->deepEquals(), added automatic deep checking in equals(), added some documentation for Item API methods
2017-03-12 14:46:34 +00:00
Dylan K. Taylor
4f27bce5b3
Destroy NBT references when closing entities, alleviates memory issues on leaked Player objects
...
This does NOT FIX THE ACTUAL ISSUES, only eliminates some of the symptoms.
2017-03-12 10:53:27 +00:00
Dylan K. Taylor
a71747347f
Updated Doxygen documentation link
2017-03-11 16:51:20 +00:00
Dylan K. Taylor
c925845173
Added forceSend for attribute value setting, fixed slowness >= 7 removed client-side when sprinting
2017-03-09 21:33:55 +00:00
Dylan K. Taylor
7fb3c7343f
Fit attribute value to range when applying slowness, close #410
...
According to http://minecraft.gamepedia.com/Status_effect#Slowness , anything higher than slowness 7 will cause the player to be unable to move. Therefore this value should be clamped to a minimum of 0, not crash.
2017-03-09 21:01:10 +00:00
Dylan K. Taylor
132e04fdbb
Hotbar/inventory bugfixes ( #399 )
...
- Fixed most issues with item equipment in creative
- Added save and restore of currently-held item
- Reset hotbar on death, added API method PlayerInventory->resetHotbar()
- Creative players now have more leeway to get items, alleviates issues with item equipment in desktop GUI
- Fixed creative players wearing armour
- Found unknown field in ContainerSetSlotPacket
- Removed outdated/redundant constants
- Use a case statement in ContainerSetSlotPacket handler, added handling for 0x7a hotbar slot link update
2017-03-09 20:31:55 +00:00
Dylan K. Taylor
d31e92bbe7
Remove beta tag, bump client version to 1.0.4.11
2017-03-09 18:30:51 +00:00
Dylan K. Taylor
dbb579aa73
Updated LevelSoundEvent constants
2017-03-09 17:55:26 +00:00
Dylan K. Taylor
bc0598c0f1
Autogenerated data for 1.0.4.1
2017-03-09 17:55:26 +00:00
Dylan K. Taylor
f87b745771
New entity metadata and found some UpdateTradePacket fields
2017-03-09 17:55:26 +00:00
Dylan K. Taylor
8d43faf16e
Added Inventory network IDs interface
2017-03-09 17:55:26 +00:00
Dylan K. Taylor
f00e7ccb54
Forgot preprocessor header include
2017-03-09 17:55:26 +00:00
Dylan K. Taylor
7b5e5832cb
Added UpdateTradePacket
2017-03-09 17:55:25 +00:00
Dylan K. Taylor
dd6abff712
Autogenerated data for 1.0.4.0
2017-03-09 17:55:25 +00:00
Dylan K. Taylor
7e1bdd474a
Revert multi-world hack (client issue fixed in 1.0.4.0), close #260
...
This reverts commit 162b993e65f2e15b25d1997af3b0e77db2bc2de7.
2017-03-09 17:55:25 +00:00
Dylan K. Taylor
e31333edd4
Update ISSUE_TEMPLATE.md
2017-03-09 16:35:12 +00:00
Dylan K. Taylor
93896977d0
Add default
2017-03-07 10:18:58 +00:00
Dylan K. Taylor
554816b8b6
Added configuration option to pocketmine.yml to allow changing timings host, added new host mcpetimings.com
2017-03-07 09:24:32 +00:00