5943 Commits

Author SHA1 Message Date
Dylan K. Taylor
8a02dbb15a fix crash when var_dumping packets 2017-08-03 08:47:10 +01:00
xFlare
f0b4a33e2e www.pocketmine.net -> update.pmmp.io (#1263) 2017-07-31 22:44:02 +01:00
Dylan K. Taylor
306bf7be5f Moved dimension id constants to their own interface (PHP needs enums) 2017-07-31 16:38:01 +01:00
Dylan K. Taylor
0b47324fe3 Add some constants to AnimatePacket 2017-07-31 16:03:45 +01:00
Dylan K. Taylor
17be06a56d Rough implementation of double plants, fixes #882 2017-07-31 08:14:01 +01:00
Dylan K. Taylor
caff686827 Fixed grass growth and death, close #436
way too fast to grow back though :S
2017-07-31 08:00:03 +01:00
Dylan K. Taylor
210bdc2436 Fixed liquid CPU leaks and some flow issues
Liquid still needs a total rewrite, but at least it won't constantly waste CPU anymore.
2017-07-31 07:24:22 +01:00
Dylan K. Taylor
acaa0d2740 Translate command usage messages server-side, close #236 2017-07-30 21:14:40 +01:00
Dylan K. Taylor
ffefcd4473 Fixed 'moved too fast' when respawning 2017-07-30 20:59:42 +01:00
Dylan K. Taylor
8957dbf08e Use occupied bitflag and added distance check for beds
must be < 2 blocks from either half of the bed
2017-07-30 20:02:48 +01:00
Dylan K. Taylor
2d626d1d90 Improved Beds, fixed bed tiles not getting removed for other halves
relates to #880
2017-07-30 19:57:10 +01:00
Dylan K. Taylor
253db40a11 Fixed bed placement with head over a transparent block 2017-07-30 19:50:47 +01:00
Dylan K. Taylor
8a3b31077e Fixed some items not keeping meta when constructed, close #968 2017-07-30 19:46:24 +01:00
Dylan K. Taylor
1f4e6535bb Added Bed tile and support for coloured beds 2017-07-30 19:34:06 +01:00
Dylan K. Taylor
6ae24c5c19 Removed unnecessary methods Block->canBeActivated() and Item->canBeActivated() (needless extra confusion) 2017-07-30 18:14:43 +01:00
Dylan K. Taylor
036663e0b5 Made rails less weird
Not up to the task of implementing rail connectivity today, some other time
2017-07-30 18:02:24 +01:00
Dylan K. Taylor
344500785c Fixed wrong drops for Bookshelf 2017-07-30 17:58:34 +01:00
Dylan K. Taylor
a95d173989 Fixed a couple of repeated Level->getBlock() calls in Liquid 2017-07-30 17:57:40 +01:00
Dylan K. Taylor
e72d8cf8f5 Remove a couple of obsolete TODO comments 2017-07-30 17:43:14 +01:00
Dylan K. Taylor
c0e0730923 Fixed PE armor screen glitching when equipping armor items 2017-07-30 17:41:44 +01:00
Dylan K. Taylor
b6fe231bc1 Added melting for ice and snow layers 2017-07-30 17:27:28 +01:00
Dylan K. Taylor
3bd94c9da7 Heads do not drop when the supporting block is removed
https://github.com/PocketMine/PocketMine-MP/pull/4087 didn't get reviewed properly, or at all 🤦
2017-07-30 17:26:55 +01:00
Dylan K. Taylor
2e5e016b87 Remove redundant TODO from CraftingTable 2017-07-30 17:26:06 +01:00
Dylan K. Taylor
822c048af0 Fixed wrong docs in Block 2017-07-30 17:24:59 +01:00
Dylan K. Taylor
6e4b8ba677 Removed some useless code 2017-07-30 17:24:33 +01:00
Dylan K. Taylor
a5a8732800 Removed redundant overriden method from Furnace 2017-07-30 17:24:02 +01:00
Dylan K. Taylor
21887b283f Removed some copy-pasted code, fix leaves2 drops 2017-07-30 17:22:28 +01:00
Dylan K. Taylor
3e141afe48 Exposed LoginPacket chain data to allow plugins to access this data 2017-07-29 14:27:16 +01:00
Dylan K. Taylor
aa6eef26e9 Fixed #1255 2017-07-28 14:23:27 +01:00
Dylan K. Taylor
87c16dab23 Don't allocate subs that aren't going to be modified 2017-07-28 11:26:15 +01:00
Dylan K. Taylor
c1542d853f Improved flat world initial chunk generation speed by ~50% 2017-07-27 21:57:28 +01:00
Dylan K. Taylor
8274f5b3cc More hack-fixes for #1220
Player and network really need to get divorced, and fast.
2017-07-27 11:25:40 +01:00
Dylan K. Taylor
e8be8550a0 Fixed possible issues with tick counters being inaccurate when the server lags 2017-07-27 10:58:34 +01:00
Dylan K. Taylor
b3dada4cb9 Fix wrong documentation in ServerEvent 2017-07-26 21:24:19 +01:00
Dylan K. Taylor
ed5f69f170 Fixed documentation and expiration date nullability in BanEntry, close #1242 2017-07-26 19:37:08 +01:00
Dylan K. Taylor
6ff92f2adf Fix player timeouts crashing the server 2017-07-24 21:12:05 +01:00
Dylan K. Taylor
f32e880542 Fixed really dumb copy bug breaking crafting 2017-07-22 12:04:52 +01:00
Taras
6cacb368ce Add PlayerJumpEvent (#1223) 2017-07-22 11:18:53 +01:00
Dylan K. Taylor
6fa59230db Added documentation for Thread->registerClassLoader() and Worker->registerClassLoader() 2017-07-22 10:55:00 +01:00
Sandertv
1a7f567a70 Return the dropped item entity in Level->dropItem() (#1222) 2017-07-20 12:27:58 +01:00
Tim (robske_110)
42fb1d1fef Improve usability of Sign API (#1202)
* Improve usability of Sign API

* PHP

* Throw exceptions if out of range

* Fix phpdocs

* Formatting, additional checks in the SignChangeEvent.

* Blame php storm

* require line count to always be 4

* Adjust exception message
2017-07-19 15:22:04 +01:00
Dylan K. Taylor
cca9cf2c86 Workaround for plugin versions being read as strings from plugin.yml
Config is a real pain in the ass to work with... need to split it up so this can be handled properly
2017-07-16 11:31:21 +01:00
Dylan K. Taylor
7c00982fff Fixed furnaces crashing the server
Beware ListTag indices being strings! Should be impossible, but the NBT library is poorly designed.
2017-07-15 21:53:43 +01:00
Dylan K. Taylor
3150c50cac Typehinted AxisAlignedBB 2017-07-15 18:43:10 +01:00
Dylan K. Taylor
57e7c3d91f Missed one 2017-07-15 13:30:02 +01:00
Dylan K. Taylor
3e8825f826 Fix bad documentation in Block 2017-07-15 12:48:41 +01:00
Dylan K. Taylor
ab3b50f062 Stop it PhpStorm, you're making me look bad 2017-07-15 12:15:15 +01:00
Dylan K. Taylor
dbb92096e4 More typehints, documentation fixes and static analysis cleanup 2017-07-15 12:12:06 +01:00
Dylan K. Taylor
24bdf330d5 Merge branch 'moar-typehints' 2017-07-15 09:43:43 +01:00
Dylan K. Taylor
e6a2b0f270 Fix inaccurate documentation for ServerCommandEvent 2017-07-14 16:28:47 +01:00