4375 Commits

Author SHA1 Message Date
SOFe
a122ea9e75 Merge pull request #161 from pmmp/deprecate-version-constants
Deprecate Minecraft game version constants in the `pocketmine` root namespace
2016-12-19 21:21:38 +08:00
Dylan K. Taylor
a8694dcbf7 Relocated MINECRAFT_VERSION and MINECRAFT_VERSION_NETWORK to ProtocolInfo and deprecated the originals 2016-12-19 13:16:29 +00:00
Tim (robske_110)
bb7263beac
Fixed script plugins not using first doccomment only 2016-12-17 23:56:43 +08:00
Tim (robske_110)
d84f990574 Fix Windows console unresponsive after a few hours, close #104 (#106) 2016-12-17 10:31:10 +00:00
Dylan K. Taylor
61e8828f94 Fix ladder drops when supporting block is removed 2016-12-16 21:26:54 +00:00
Dylan K. Taylor
aa8a13c4a3 Fix a bunch of block update bugs due to ancient code 2016-12-16 17:08:38 +00:00
Dylan K. Taylor
0380c78926 Remove redundant override in Fallable 2016-12-16 16:33:31 +00:00
Dylan K. Taylor
5ce6c6227f Fix a couple of particle constants
Thanks @thebigsmilexd for information
2016-12-15 23:05:26 +00:00
Dylan K. Taylor
5dca11dafb Increase ladder bounding box to 3/16, fix kicked for flying when sneaking on ladders (#168) 2016-12-15 16:18:49 +00:00
Dylan K. Taylor
bd722bb85f fix misplaced doc 2016-12-15 09:22:51 +00:00
SOFe
e1253db37c Some more minor changes for autocompletion in IDEs 2016-12-14 21:49:36 +00:00
SOFe
175dd0efa6 PhpStorm inspections
Fixed some minor bugs and dropped some obsolete code

pocketmine\level\generator namespace is ignored in this commit
2016-12-14 21:49:35 +00:00
alex2534alex
e790573f2e Fix NBT "getArray()" (#163) 2016-12-12 16:03:05 +00:00
Dylan K. Taylor
544d99f161 Added ability to force literal gamemode checks for Player->isSurvival(), Player->isCreative() and Player->isAdventure() (#155) 2016-12-12 10:07:34 +00:00
Dylan K. Taylor
5e6d452678 Fix TNT flashing, add explosion particles and add DATA_FUSE_LENGTH entity data constant 2016-12-09 17:20:07 +00:00
Dylan K. Taylor
ae6e0773ef Do not perform scheduled updates on still lava/water (#134) 2016-12-09 16:13:39 +00:00
JackNoordhuis
5d16ecc003 Entity Effect Events (#141)
Add EntityEffectEvent class that the EntityEffectAddEvent and
EntityEffectRemoveEvent classes extend. Add event calls to Effect class.
2016-12-06 11:59:49 +00:00
Dylan K. Taylor
288bf0fe6c Use folder name for saves instead of display name (#150) 2016-12-06 11:58:25 +00:00
Dylan K. Taylor
fecbdc5ff2 Clean up unused files 2016-12-04 10:42:30 +00:00
Dylan K. Taylor
74e31fe712 Fix ./command detection by old plugins (#138)
* Fix ./command detection by old plugins

* plugins might change it 🤦
2016-12-03 20:05:00 +00:00
Dylan K. Taylor
756760a2f0 Fixed clicking on fire to extinguish it (#132) 2016-11-30 15:27:14 +00:00
Dylan K. Taylor
d6629d6843 More ?? (#131)
* More ??

* fix undefined variable
2016-11-30 10:07:37 +00:00
Dylan K. Taylor
43a36dba40 Fix op players automatically switching to creative/survival when set to spectator/adventure
Disable GUI gamemode switching, treat it as a cheat.
2016-11-30 09:22:45 +00:00
Dylan K. Taylor
b1ce19856f Fix adventure settings not updated for GUI gamemode changes 2016-11-28 11:25:29 +00:00
Dylan K. Taylor
439f418b0d Remove debug output 2016-11-27 16:00:54 +00:00
Dylan K. Taylor
fa5624f87e Check rotation changes. Fix #124, fix #128 2016-11-27 15:58:37 +00:00
Dylan K. Taylor
c79077cbed Fix MobHead bounding box and properties 2016-11-27 15:50:02 +00:00
Dylan K. Taylor
995d0847f9 Fix tile derp 2016-11-27 13:06:11 +00:00
Dylan K. Taylor
aa713c4e4a Added ability to specify tag name for serializing 2016-11-27 12:17:11 +00:00
Dylan K. Taylor
3b3abab3ad Fix W10 throws away held item on inventory close
This issue will however still crop up if there are actual items in the crafting grid instead of air.
2016-11-27 12:01:09 +00:00
Dylan K. Taylor
1b543b2c16 Improved varint write performance (#126) 2016-11-26 15:07:27 +00:00
Dylan K. Taylor
763ef7f937 Removed outdated GUI submodule (#125) 2016-11-25 13:46:41 +00:00
Dylan K. Taylor
e51a2725de Remove circular dependency between Item and NBT modules (#121) 2016-11-25 10:17:50 +00:00
Dylan K. Taylor
a0111d04ee Log exception with backtrace 2016-11-24 21:20:10 +00:00
Dylan K. Taylor
744f5a8384 Fix ServerKiller and make it less useless (#122) 2016-11-24 08:47:28 +00:00
Andrew
fe348b0a9d Speed up region file creation by only using ftruncate(). (#116)
* Speed up region file creation by only using ftruncate().

The old method was extremely slow (~200ms to create a single region file), but the new one is much faster (in the order of ~15ms). (Numbers were measured on a Linode 2048)

* Replace manual array fill with array_fill().

* Spaces -> tabs.

* Update RegionLoader.php
2016-11-23 21:23:38 +00:00
Dylan K. Taylor
8d842732e0 Ignore MovePlayerPacket if position is the same 2016-11-22 16:55:40 +00:00
Dylan K. Taylor
bee342691d Remove NetherBrickFenceGate derp 2016-11-22 15:47:20 +00:00
laurobeleche
7eb9530346 Fix CraftItemEvent not return inputs 2016-11-21 17:43:04 +00:00
Dylan K. Taylor
bd85d53a0b Removed unsafe use of potential non-Player-object parameter 2016-11-20 20:03:56 +08:00
Kripth
ac37af3a46 Added types and changed to sendWhisper 2016-11-20 20:03:56 +08:00
Kripth
208884422d Added whisper 2016-11-20 20:03:56 +08:00
SOFe
da23568546
Disallow scheduling the same AsyncTask instance more than once 2016-11-20 01:12:38 +08:00
SOFe
f0f6d85809
Merge branch 'asynctask-progress' 2016-11-19 23:17:26 +08:00
Dylan K. Taylor
92bd1a755d Fix Installer server name bug (server name uses MOTD now 2016-11-18 11:41:25 +00:00
Dylan K. Taylor
3ee43c5a17 Fix some varints 2016-11-17 18:28:39 +00:00
SOFe
8ced6547f2 Fixed #109 2016-11-17 01:25:01 +08:00
SOFe
37ae760417
Fixed crashes after scheduleAsyncTaskToWorker() calls 2016-11-13 18:32:11 +08:00
SOFe
ab4d6b1e36
Clarified that AsyncTask should not run for a long time 2016-11-13 18:14:41 +08:00
3DO2 - BlocksAndGold
383df298a6 fix crash at server stop when RCON is enable (#101) 2016-11-13 10:11:15 +00:00