Dylan K. Taylor
382d97a178
Merge branch 'stable'
2019-07-17 13:58:43 +01:00
Dylan K. Taylor
6a93eb8361
Merge branch 'stable'
2019-07-13 18:08:45 +01:00
Dylan K. Taylor
c07396442c
Merge branch 'stable'
2019-07-09 15:57:02 +01:00
Dylan K. Taylor
bda9bd2f2d
Merge branch 'experimental/vanilla-block-registry'
2019-07-08 19:38:09 +01:00
Dylan K. Taylor
5274a0fe3c
Extract an ExperienceManager unit from Human
2019-07-06 19:31:39 +01:00
Dylan K. Taylor
da0358529a
Extract a HungerManager unit from Human
2019-07-06 18:50:34 +01:00
Dylan K. Taylor
4d7c18f65b
first look at a giant static interface for block fetching
2019-07-06 17:29:40 +01:00
Dylan K. Taylor
ceeed57118
Player: remove iusername premature optimization
2019-07-05 17:28:37 +01:00
Dylan K. Taylor
45b0cbc796
Human: remove getRawUniqueId() premature optimization
...
this is never used in a hot path and presents a potential for inconsistency.
2019-07-05 17:17:48 +01:00
Dylan K. Taylor
f356bf0893
Extracted an EffectManager unit from Living
2019-07-05 16:15:58 +01:00
Dylan K. Taylor
85051554c4
disallow logins from players with phony XUIDs
...
this simplifies XUID handling.
2019-07-03 16:47:02 +01:00
Dylan K. Taylor
b90be8dc5f
fix PhpStorm's screwups
2019-07-01 18:49:07 +01:00
Dylan K. Taylor
7aa4d974ef
move crafting stuff to pocketmine\crafting namespace
2019-07-01 18:47:09 +01:00
Dylan K. Taylor
0d769aab48
Removed anti-noclip checks
2019-06-29 11:10:20 +01:00
Dylan K. Taylor
a4b50e57a4
move player arm swing processing to server side
2019-06-28 15:08:51 +01:00
Dylan K. Taylor
f62d9cbb99
Player: rename equipItem() to selectHotbarSlot()
2019-06-26 15:52:01 +01:00
Dylan K. Taylor
7bdb99ae8b
Player: fixed consumable relying on undefined network behaviour to set using-item flags
2019-06-26 15:47:16 +01:00
Dylan K. Taylor
eee039a490
Player: don't fire events on equipItem() when sending the same slot
2019-06-26 15:32:57 +01:00
Dylan K. Taylor
ee72680f44
Removing "metadata": overengineered useless Bukkit copy-pasta
...
the intentions of this are good, but the usability is terrible and it's not fit for purpose. Since there are a total of zero plugins on Poggit which use this garbage, it makes more sense to eliminate the technical debt. See #2766 for discussion about replacing this.
2019-06-26 14:43:21 +01:00
Dylan K. Taylor
26178b4435
InventoryManager: remove redundant cyclic dependency
2019-06-26 13:57:52 +01:00
Dylan K. Taylor
42b1c45fa5
Player: remove deprecated parameter from sendPopup()
2019-06-25 19:41:00 +01:00
Dylan K. Taylor
a6395c9ac7
allow use of any iterable for enum initialization
...
this allows possible use of generators
2019-06-25 19:37:31 +01:00
Dylan K. Taylor
c19c42a934
PlayerBlockPickEvent: pre-cancel the event when picking would fail in survival
2019-06-25 16:30:07 +01:00
Dylan K. Taylor
edccce1419
added ChunkListenerNoOpTrait to reduce chunklistener boilerplate
2019-06-25 16:23:43 +01:00
Dylan K. Taylor
75a4136ab2
Player: fix bug in unloadChunk() causing entity artifacts on world change
2019-06-25 14:17:56 +01:00
Dylan K. Taylor
de10e401bf
Fixed wrong chunks being sent to players post-teleport or post-world-change
2019-06-25 13:41:03 +01:00
Dylan K. Taylor
d15284e638
work on moving inventory network functionality to network layer
2019-06-25 13:28:01 +01:00
Dylan K. Taylor
9f09dc3dd7
Player: Log a debug message when GC kicks in
...
I use this frequently to identify leaks. This isn't expected to appear immediately after disconnect, but it shouldn't take long to appear.
2019-06-24 17:46:30 +01:00
Dylan K. Taylor
91580ce321
fix bug in InventoryCloseEvent
2019-06-24 17:27:12 +01:00
Dylan K. Taylor
197a56e3e1
move BookEditPacket handler out of Player
2019-06-23 19:23:20 +01:00
Dylan K. Taylor
2559f5ec2b
Moved Player-related classes to pocketmine\player namespace
2019-06-18 18:51:36 +01:00