Dylan K. Taylor
adbb53929e
Fixed scaling issues with height and width on the client, close #819
...
Seems these metadata fields are actually the _base_ height/width. Setting the scale will cause the client to calculate bounding boxes with the scale already taken into account. This caused the scale to be applied twice on the client.
2017-05-05 16:51:15 +01:00
smarticles101
8a7259aa73
Merge #826 : use getEffectLevel() instead of getAmplifier() + 1
...
Closes #412
2017-05-05 19:01:04 +08:00
Dylan K. Taylor
76ceddf266
Reduced deltas for player movement, significantly smoother player movement and rotation ( #883 )
...
Send movement to viewers if the player moved more than 0.01 blocks in a tick or rotated more than 1 degree in any direction.
2017-05-05 11:23:06 +01:00
Muqsit Rayyan
11f35d28c2
Call PlayerInteractEventm when receiving ItemFrameDropItemPacket to allow plugins to prevent item frame item removal ( #887 )
2017-05-05 11:18:58 +01:00
Dylan K. Taylor
c4f461f65d
Fixed fall damage in 1 block of water, close #470
2017-05-05 10:41:44 +01:00
Dylan K. Taylor
eaef2bd169
Fixed some inspections
2017-05-04 12:19:50 +01:00
Dylan K. Taylor
966e4bf8a1
Added name field to crashdump data
2017-05-02 19:37:35 +01:00
Dylan K. Taylor
f889bf9cf5
Fixed player list self-duplication
2017-05-02 12:28:27 +01:00
Dylan K. Taylor
6d90f91be0
Fixed crashes while crashing related to plugins
2017-04-30 16:22:50 +01:00
Dylan K. Taylor
0a52e210db
Fixed crash when crashing while generating a crashdump due to crashing
2017-04-30 16:01:08 +01:00
Dylan K. Taylor
971703a618
Dump object counts when dumping memory
2017-04-29 19:12:46 +01:00
Dylan K. Taylor
de359a2bce
Fixed a microscopic Command TimingsHandler memory leak
...
This reduces memory usage of an idling server by about 20kb. Definitely worth the time.
2017-04-29 18:03:45 +01:00
Dylan K. Taylor
1266f8f1aa
Fixed static properties not being dumped if an instance of the class was not referenced by Server
2017-04-29 12:25:00 +01:00
Dylan K. Taylor
a22306d418
Fixed static property refcount bug
2017-04-28 18:43:36 +01:00
Dylan K. Taylor
b542277eca
Disable memory limit before performing a mem dump
...
Fix memory dumps not completing due to exhausting available memory
2017-04-28 16:53:05 +01:00
TheDiamondYT1
653b6b55a9
Added title command and API for resetting title duration
2017-04-27 16:38:51 +01:00
Dylan K. Taylor
84ec944b6b
Use short class names for unhandled packet logging, added some documentation
2017-04-27 12:16:24 +01:00
Dylan K. Taylor
6ef132e468
Updated PocketMine-Language submodule
2017-04-27 11:50:17 +01:00
Dylan K. Taylor
2a59977440
Added various checks for region file validity ( #393 )
...
Check size, check header size, check location table offsets point to valid locations, check for shared offsets, prevent issues with corrupted or junk data
2017-04-27 09:14:02 +01:00
Dylan K. Taylor
716efe2549
Fixed a stupid mistake in AddEntityPacket
2017-04-25 18:04:41 +01:00
SOFe
5a9b5db103
Better cURL API, use async in timings ( #834 )
...
* Improved cURL functions
* Created BulkCurlTask
* Use asynchronous cURL posting in /timings paste
Closes #509
2017-04-25 11:52:18 +01:00
Dylan K. Taylor
d682fdfdf0
Food and exhaustion should not apply in creative, close #860
2017-04-24 13:31:05 +01:00
Dylan K. Taylor
0e7f364a41
Fixed chunk object memory leak when chunks are changed, close #419
...
If a player quit the server in the 1-second between a chunk changing and a fresh chunk-order requesting a resend of that chunk, the player wouldn't know they were using that chunk and did not unregister themselves, causing the subject chunks to always remain loaded.
2017-04-24 11:55:33 +01:00
Dylan K. Taylor
559504225a
Throw an exception before calling base entity constructor if skin is not set or invalid, close #835 ( #855 )
2017-04-24 09:50:55 +01:00
Dylan K. Taylor
6ece57e23e
Merge changes from master
2017-04-21 22:48:18 +01:00
Dylan K. Taylor
2204942338
Fixed the half-done hunger implementation, fixed lots of bugs related to hunger
...
- Fixed starvation doesn't deal any damage at all (Human->getFood() returns a float, not an int, === 0 won't work so great)
- Added exhaustion for sprinting, walking, jumping and sprint-jumping as per MCPE (these use MCPE values, and yes MCPE does walking exhaustion!)
- Fixed attributes don't get reset after player death
- Added food and hunger regeneration in peaceful difficulty
- Added API methods Living->jump() (motion isn't updated yet, so this won't actually do much if plugins try to use it) and Living->getJumpVelocity()
TODO: implement exhaustion for swimming
2017-04-21 19:48:25 +01:00
Dylan K. Taylor
00a226921c
Fixed server crash when taking damage after being killed when having Health Boost effect
2017-04-21 18:52:04 +01:00
Dylan K. Taylor
e7406ba096
Fixed squid health attribute errors
2017-04-21 14:42:19 +01:00
Dylan K. Taylor
a356e36340
Autogenerated data for 1.0.7.0
...
Did they actually _change_ anything or just trying to keep it on par with the game version? >_<
2017-04-21 13:22:36 +01:00
Muqsit Rayyan
547a09c8d4
Fix "Creating default object from empty value" ( #858 )
...
while setting lore to items.
2017-04-20 20:39:09 +01:00
SalmonDE
9e2b26de23
Remove redundant null check in PluginCommand ( #853 )
2017-04-19 17:59:01 +01:00
Dylan K. Taylor
86de0bddd9
World should only be completely immutable if we're in spectator mode
...
Fixes being unable to break any blocks at all in adventure mode
2017-04-18 20:01:51 +01:00
Dylan K. Taylor
207056fb9d
Fixed adventure mode being useless
2017-04-18 19:51:42 +01:00
Dylan K. Taylor
d2efcee115
Fixed tiles and entities being closed when replacing chunks, should fix #490
2017-04-18 14:47:42 +01:00
Dylan K. Taylor
eefa8abaf2
Throw exceptions if something attempts to add a closed Tile or Entity to a chunk
2017-04-18 14:45:33 +01:00
Muqsit Rayyan
8a775e0c45
Fix PopSound giving failed click sound. ( #829 )
2017-04-15 10:02:00 +01:00
Dylan K. Taylor
f2159c5948
Fixed unlit furnaces glowing in the dark, close #508
...
Whether Furnace extending BurningFurnace actually makes logical sense is a different question, but that cna be resolved any other time.
2017-04-14 15:30:37 +01:00
Dylan K. Taylor
4ab8233fe0
Fixed shooting bow while sprinting, close #827
2017-04-14 15:27:32 +01:00
Muqsit Rayyan
319763dd93
Fix #823
...
Thanks to @SuperMaXAleX
2017-04-13 22:32:53 +03:00
SOFe
a455e25665
Merge remote-tracking branch 'jacknoordhuis/patch-2'
2017-04-13 13:28:06 +00:00
Sandertv
1c7773c5f1
Visibility keyword before final or abstract keyword. ( #814 )
2017-04-13 20:58:53 +08:00
Dylan K. Taylor
7c66af5994
"Fixed" resource packs
...
TODO: new fields
2017-04-12 11:54:47 +01:00
Dylan K. Taylor
cb7264e0e5
Hexdump unhandled packets
2017-04-12 11:20:58 +01:00
Dylan K. Taylor
f7e1939ae8
Changed some handling of unknown packet content
2017-04-12 11:16:50 +01:00
Dylan K. Taylor
172d7339f9
Autogenerated data for 1.0.6.52
2017-04-12 11:11:37 +01:00
JackNoordhuis
c01e0354bd
Address #816
...
Removes redundant compression argument from NBT::readCompressed() and
NBT:: readNetworkCompressed()
2017-04-12 00:42:27 +10:00
Dylan K. Taylor
e312c697fd
Merge master into api3/network
2017-04-10 21:21:29 +01:00
Luke | 14
80292c6c7a
Actually use iusername instead of repeatedly lowercasing player names ( #811 )
...
#blameshoghi
2017-04-10 21:15:38 +01:00
Creeperface01
dda47ee566
Fix typo in explosion ( #700 )
2017-04-10 09:17:34 +01:00
SOFe
6b72bbc234
Allow custom JSON pretty print options
...
Resolves #516
Closes #517
2017-04-06 15:05:39 +08:00