Dylan K. Taylor
c1c290cd39
Beware matching items that aren't actually correct
...
This would only ever happen if we received the actions in the wrong order, but that wouldn't surprise me.
2017-09-13 11:37:10 +01:00
Dylan K. Taylor
5267c571e9
add handling for -100 fake source type (evacuate crafting table contents)
2017-09-13 11:15:31 +01:00
Dylan K. Taylor
0fac3b9a9d
Added encode for InventoryTransactionPacket and refactor some stuff
2017-09-13 11:14:04 +01:00
Dylan K. Taylor
23a38400e2
Added CraftingGrid and BigCraftingGrid, WIP stuff for crafting
...
moving whole stacks in & out of the crafting grid works now, splitting stacks is fucked up because the transaction system can't handle the same slot changing multiple times in one transaction
2017-09-12 19:34:06 +01:00
Dylan K. Taylor
297172d111
Send creative inventory for all gamemodes, fixed recipe book
2017-09-12 14:40:16 +01:00
David Schwartz
825d4f9702
Location cleanup ( #1380 )
...
There's no sense rewriting code that the parent constructor already implements.
2017-09-12 12:18:35 +01:00
Dylan K. Taylor
130a60f2b2
Fixed ItemFactory::isRegistered() returns false for blocks
2017-09-11 18:23:26 +01:00
Dylan K. Taylor
07268e4b37
Added API methods to determine if a block or item is already registered
2017-09-11 16:22:55 +01:00
Dylan K. Taylor
441efc4ae2
Merge branch 'master' into mcpe-1.2
2017-09-11 14:40:25 +01:00
Dylan K. Taylor
88bd7713c5
Fix preprocessor
2017-09-11 09:42:31 +01:00
Dylan K. Taylor
aaa3b6e59a
Added explicit AsyncTask->storeLocal(), removed AsyncTask->__construct() object storage ( #1322 )
...
Far too often I see people using IDEs which generate the constructors for them and then accidentally unintentionally store things in the object store. This parent constructor behaviour is unexpected. If a developer wants to store something, they should now do so explicitly by calling storeLocal().
2017-09-10 20:31:28 +01:00
Dylan K. Taylor
25adac8859
Added support for Composer ( #323 )
2017-09-10 19:23:34 +01:00
Dylan K. Taylor
8d0b881762
fixed command arg types
2017-09-10 13:56:34 +01:00
Dylan K. Taylor
16cb75ef38
Merge branch 'master' into mcpe-1.2
2017-09-09 21:58:30 +01:00
Dylan K. Taylor
3b9689674d
Merge remote-tracking branch 'origin/php/7.0'
2017-09-09 21:57:44 +01:00
Dylan K. Taylor
7f5d8cc900
Always log stack traces regardless of whether log-debug is enabled
2017-09-09 19:27:26 +01:00
Dylan K. Taylor
8761256246
Be more clear about WHY not to use source installs in production
2017-09-09 19:21:32 +01:00
Dylan K. Taylor
10b765e17a
Merge branch 'php/7.0' into mcpe-1.2
2017-09-09 18:08:47 +01:00
Dylan K. Taylor
0eb866bf25
Updated AvailableCommandsPacket
2017-09-09 14:23:19 +01:00
Dylan K. Taylor
c46caa38e1
merge
2017-09-09 11:33:00 +01:00
Dylan K. Taylor
17d949f476
Fixed SPL being reported as incompatible when it's actually not found
2017-09-09 11:25:59 +01:00
Dylan K. Taylor
c569f55933
Fixed can't find sources when PocketMine.php is run from anywhere other than the repository root
2017-09-09 11:22:56 +01:00
Dylan K. Taylor
021a9a4820
Merge branch 'php/7.0'
2017-09-07 19:33:01 +01:00
Dylan K. Taylor
ebdfbe6bb9
Removed flight controls hack for spectator mode
...
THEY FINALLY FIXED IT
2017-09-07 19:06:36 +01:00
Dylan K. Taylor
d7422d9283
Updated for 1.2.0.31 beta
2017-09-07 10:50:53 +01:00
Dylan K. Taylor
fcb3c4820e
Merge branch 'php/7.0' into mcpe-1.2
2017-09-07 10:42:20 +01:00
Dylan K. Taylor
c72ef605b9
Fixed server crash when a garbage timezone value is set in php.ini, fallback to auto-detection
2017-09-07 10:40:32 +01:00
Dylan K. Taylor
e274f1b7f8
Merge branch 'php/7.0'
2017-09-06 17:54:50 +01:00
Dylan K. Taylor
2c6205e3f3
Added new events for network interface handling, close #1232 ( #1250 )
...
Added
- NetworkInterfaceRegisterEvent (cancellable)
- NetworkInterfaceUnregisterEvent
- NetworkInterfaceCrashEvent
2017-09-06 11:22:10 +01:00
Dylan K. Taylor
12c154badf
Merge branch 'php/7.0'
2017-09-05 20:06:02 +01:00
Dylan K. Taylor
2215543e39
Fixed not being able to remove logger attachments, closes #1141
2017-09-05 20:04:19 +01:00
Dylan K. Taylor
c9ee206fe6
Merge branch 'php/7.0'
2017-09-04 19:42:03 +01:00
Dylan K. Taylor
d065e76a41
Fixed plugins with unknown dependencies saying they have circular dependencies, close #356 ( #1342 )
2017-09-04 19:41:21 +01:00
Dylan K. Taylor
6877ac35eb
Merge branch 'php/7.0'
2017-09-04 10:01:47 +01:00
Dylan K. Taylor
f0c1ea7dd7
Fixed string seeds in pocketmine.yml crash the server, close #1355
2017-09-04 10:01:21 +01:00
Dylan K. Taylor
6aaef1660a
Added dependency checks for BC Math
2017-09-04 08:08:04 +01:00
Dylan K. Taylor
78d49f8e66
Merge branch 'php/7.0' into mcpe-1.2
2017-09-03 15:02:41 +01:00
Dylan K. Taylor
de6ebc5791
Merge branch 'php/7.0'
2017-09-03 15:00:29 +01:00
Dylan K. Taylor
815c697767
Fixed sticks being useless as furnace fuel
2017-09-03 14:59:04 +01:00
Dylan K. Taylor
231617b9d0
fuel time should be ticks here, not seconds
2017-09-03 14:27:17 +01:00
Dylan K. Taylor
90cb3c010f
Added some new items (the basic ones)
2017-09-03 14:24:21 +01:00
Dylan K. Taylor
2398e2450a
Allow building inside spectators
...
This check is pretty ugly, it'll need cleaning up later. For now, this will suffice.
2017-09-03 13:47:44 +01:00
Dylan K. Taylor
bb9299070d
Fixed several Cake bugs
...
fixed cake flat-out doesn't work
fixed last slice of cake vanishing (NOOOOO)
fixed EntityEatBlockEvent not getting called
made AABB calculation less confusing
2017-09-03 13:09:53 +01:00
Dylan K. Taylor
58bf5d6679
Use null coalesce in EntityDamageEvent
2017-09-03 12:48:57 +01:00
Dylan K. Taylor
cb7911ee9c
Improved Absorption, now only applies to living entities, now controllable by plugins
2017-09-03 12:37:34 +01:00
Dylan K. Taylor
aa9fd1b4f9
Remove redundant gamemode checks
...
The caller will check the player's gamemode, so there is no use for these checks.
2017-09-03 12:22:37 +01:00
Dylan K. Taylor
7483f22e8b
Fixed a PhpStorm inspection
2017-09-03 12:10:56 +01:00
Dylan K. Taylor
89f5567476
Use Entity->getDirectionVector() more
2017-09-03 12:08:40 +01:00
Dylan K. Taylor
4df261b75a
Made some variable names in Bucket less confusing
2017-09-03 12:00:24 +01:00
Dylan K. Taylor
41780fd195
Made entity collision checks for block placement more logical and less wasteful
...
We don't care how many entities collide, only that a non-zero number collided.
2017-09-03 11:50:15 +01:00