4364 Commits

Author SHA1 Message Date
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
Dylan K. Taylor
7314aaf7f7 Particles for 0.16
Added BlockForceFieldParticle, removed LargeExplodeParticle and added HugeExplodeSeedParticle
2016-11-12 21:05:01 +00:00
SOFe
75fa2f1132
Fixed array progress crashing
Forgot to serialize them. They would be converted to Volatile, which is Threaded. Threaded objects still crash with progressUpdates.
2016-11-12 18:57:52 +08:00
SOFe
d5881dbe83
Disallow Threaded objects to be passed as progress parameter 2016-11-12 18:33:25 +08:00
SOFe
8404ce88bd
Fixed pthreads crashes with progressUpdates 2016-11-12 18:30:55 +08:00
SOFe
7861822a0f
Fixed garbage AsyncTasks cannot be accessed 2016-11-12 17:47:07 +08:00
SOFe
e6485c4734
Added AsyncTask progress update API 2016-11-12 17:31:59 +08:00
Dylan K. Taylor
bd5bbbea10 Missed one
TODO: fix this properly
2016-11-10 13:28:27 +00:00
Dylan K. Taylor
2d37d361a7 Make /timings command more verbose about errors 2016-11-09 22:09:16 +00:00
Dylan K. Taylor
d696049a0a Fix anvil rotation and variant drops 2016-11-09 20:28:59 +00:00
Dylan K. Taylor
1d876e30c8 Clean up some EnchantmentList mess 2016-11-09 14:20:25 +00:00
Dylan K. Taylor
ea7313779e Update crafting recipes 2016-11-09 14:20:24 +00:00