5332887a0a
Fixed command name case sensitivity issue noted in #462
2017-03-25 10:26:06 +00:00
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 35c33ba980
.
* 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
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
96801be3d3
Fixed #453 multiple refs to the same cached NBT object tree
2017-03-23 11:40:49 +00:00
2fb92c1c62
Fixed wrong constant value for EntityEventPacket::RESPAWN
2017-03-22 16:10:42 +00:00
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
9a35b4fbc8
Removed redundant TODO comment
2017-03-21 14:03:53 +00:00
940b20c191
Implemented Absorption effect
...
This is a little buggy due to a client-sided bug. https://bugs.mojang.com/browse/MCPE-20520
TODO: add attribute save/restore
2017-03-21 13:23:57 +00:00
c21768df26
Updated Effect constants, removed incorrect/misleading SWIFTNESS constant
...
So what? I'd rather crash plugins than have them suddenly behave strangely because SWIFTNESS is now an alias for SPEED instead of HASTE.
2017-03-21 11:49:18 +00:00
2d927db264
Implemented Instant Health and Instant Damage effects
2017-03-21 11:38:08 +00:00
a5a51fb9c5
Merge branch 'master' into api3/network_mcpe-1.0.5
2017-03-21 10:47:41 +00:00
47f7af6739
Fixed usage reporting cannot be disabled
2017-03-20 21:26:20 +00:00
b7a3230f73
Fixed botched effect override condition for equivalent amplifiers
2017-03-20 18:56:54 +00:00
6a03f8d434
Fixed server creating resource packs directory inside itself when running from a phar
...
Once again, epic facepalm @dktapps
2017-03-20 13:28:45 +00:00
06f2a9c674
Fix client-side death bug ( #438 )
2017-03-20 12:21:58 +00:00
0e64d4bbc2
Given Player->iusername a use, added Player->getLowerCaseName()
...
Micro optimizations by not repeatedly lowercasing names when searching
2017-03-20 12:21:02 +00:00
284c18d401
Added debug for mismatched item equipment
...
tool damage packets sent in the wrong order?
This could be bad for performance since the entire inventory is resent every time this issue crops up.
2017-03-20 10:58:43 +00:00
6ba4a8fe5c
Moved batch packet handling into BatchPacket->handle(), fixed data packet receive timings to include MCPE packet decode time
2017-03-20 10:26:53 +00:00
4638ccbb68
Remove this workaround (client bug fixed in 1.0.5 beta)
2017-03-19 21:58:12 +00:00
36cda5de61
Merge branch 'api3/network' into api3/network_mcpe-1.0.5
2017-03-19 21:54:14 +00:00
9c350dbe47
Fixed DataPacketReceiveEvent, fixed packet receive timings, gave Player->handleDataPacket() a new use
2017-03-19 21:50:09 +00:00
2673e4de7f
More anti-leak measures for double chest inventory issues
2017-03-19 11:25:56 +00:00
be449b6106
Removed useless condition from RemoveBlockPacket handler
2017-03-19 10:32:54 +00:00
4c61ad9f2d
Stop skipping stack frames ( #425 )
2017-03-19 10:24:33 +00:00
66fbfdd47b
Fixed hunger not saving, resolves 1 of #435 ( #439 )
2017-03-18 21:58:02 +00:00
8a28021b44
Use hash_file instead of OpenSSL for resource pack hashing
...
Epic facepalm. I totally forgot this function existed. >_<
2017-03-18 21:47:04 +00:00
ab1150382a
Merge branch 'api3/network' into api3/network_mcpe-1.0.5
2017-03-18 16:30:06 +00:00
8114ceaf68
Merge branch 'master' into api3/network
2017-03-18 16:29:38 +00:00
0d37d0d896
Added some documentation to resource packs namespace
2017-03-18 16:07:03 +00:00
cc0b4d888e
Use a resource for reading resource packs from disk
2017-03-18 15:49:48 +00:00
116cba9fae
Added expected and actual result questions to issue template
2017-03-18 15:32:58 +00:00
51a20470f6
Switch back to the old chunk-packet method since MoveEntityPacket and SetEntityMotionPacket no longer have lists
2017-03-18 15:03:41 +00:00
6e1abe7b15
Fixed some formatting issues in FlowerPot
2017-03-18 14:24:23 +00:00
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
fa5e66478c
Auto update checks are now asynchronous, improves startup time ( #433 )
2017-03-17 14:43:12 +00:00
bcbb5de5bb
Added reference parameters for errors for Utils::getURL() and Utils::postURL(), close #332 ( #357 )
2017-03-16 19:15:31 +00:00
548df21645
Small docs fix ( #432 )
2017-03-16 18:19:30 +00:00
b7b73aab23
Fixed username regex failing, close #427
2017-03-15 19:22:43 +00:00
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
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
3138e02acb
Added support for commands with spaces in their names ( #422 )
2017-03-13 20:55:06 +00:00
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
3c709b1d3e
Return false on unhandled/unknown resource pack client response status
2017-03-13 15:52:00 +00:00
c344caaf78
Refactor InventoryNetworkIds as WindowTypes
2017-03-13 11:39:54 +00:00
9e341f74d8
Added new window types and found some UpdateTradePacket fields
2017-03-13 11:27:44 +00:00
e7dbda922a
Rename some CommandBlockUpdatePacket fields
2017-03-13 10:44:40 +00:00
92193fd27b
Use entity IDs in EntityDamageBy*EntityEvents, fixed memory leaks related to PvP/PvE/PvM ( #418 )
2017-03-13 10:30:31 +00:00
bb85308b01
Fix undefined variable
2017-03-13 09:46:39 +00:00
565335f29e
Revert "TODO: REVERT - Added a workaround for client text duplication"
...
This reverts commit 52748fcf64
.
2017-03-12 16:18:30 -04:00
78278a0b93
Fixed a mistake in old effect handling
2017-03-12 20:15:21 +00:00