6763 Commits

Author SHA1 Message Date
Dylan K. Taylor
d0a96f35da ./ hack is back (/help is client-side >_<) 2017-09-21 17:51:39 +01:00
Dylan K. Taylor
65e908a403 Move Travis Test server files into a separate directory
this is for convenience locally running Travis Test so my existing data doesn't interfere
2017-09-21 17:16:27 +01:00
Dylan K. Taylor
d7091f4460 Fixed not being able to disable stats reporting using command line options 2017-09-21 17:14:44 +01:00
Dylan K. Taylor
c6670b2e74 Fixed Nether Wart's name 2017-09-21 16:56:41 +01:00
Dylan K. Taylor
194278d986 Updated TesterPlugin submodule 2017-09-21 16:56:27 +01:00
Dylan K. Taylor
0e2e9aab2e Fixed crash when block classes override the constructor but don't specify a fallback name 2017-09-21 16:43:33 +01:00
Dylan K. Taylor
1b5fed983b Revert "Fixed slab placement, close #145", reopen #145, close #1314
This reverts commit f2ff0198cca01db0e93a9b45d428e624822f18e9.
2017-09-21 14:41:18 +01:00
Dylan K. Taylor
5aba87b250 Added brown and red mushroom blocks 2017-09-21 14:07:51 +01:00
Dylan K. Taylor
f01ce8e994 null and void typehints 2017-09-21 12:54:04 +01:00
Dylan K. Taylor
d89b8cf12e Clean up SlotChangeAction inventory handling 2017-09-21 12:44:03 +01:00
Dylan K. Taylor
6aa9b081e9 Cleanup unused imports 2017-09-21 12:26:41 +01:00
Dylan K. Taylor
dbed80386a Removed redundant interface 2017-09-21 12:22:47 +01:00
Dylan K. Taylor
cefad0444c Merge branch 'master' into mcpe-1.2 2017-09-21 10:32:35 +01:00
Dylan K. Taylor
ee052f91d4 Fixed some air items with count 1 instead of 0 2017-09-21 10:30:14 +01:00
Dylan K. Taylor
ef6250967f Use Item->isNull() more 2017-09-21 10:29:29 +01:00
Dylan K. Taylor
61cfdac6a1 Fixed a mistake in entity attack handler 2017-09-21 10:18:52 +01:00
Dylan K. Taylor
fd7fb10223 Return null on unmatched inventory action and log details 2017-09-20 18:38:14 +01:00
Dylan K. Taylor
6897cb4774 Moved inventory action magic slot constants where they belong 2017-09-20 18:27:29 +01:00
Dylan K. Taylor
8e7ad532f1 Updated RakLib submodule 2017-09-20 18:16:41 +01:00
Dylan K. Taylor
9e8366725a Bump for 1.2.0.81 2017-09-20 17:30:27 +01:00
Dylan K. Taylor
b14ecc18c4 Remove unused imports 2017-09-20 12:24:44 +01:00
Dylan K. Taylor
55720d9f0a Added InventoryAction->onPreExecute(), fixed PlayerDropItemEvent deleting items 2017-09-20 12:19:42 +01:00
Dylan K. Taylor
0262465a26 Fixed dupe cake glitch
this is what happens when you try to be clever when not properly awake
2017-09-20 11:19:15 +01:00
Dylan K. Taylor
7996a7b08c Testing handling multiple result items for ShapedRecipes
this doesn't work yet, I wanted to see how glitchy it is with cakes. The answer is: very glitchy.
2017-09-20 11:14:09 +01:00
Dylan K. Taylor
4a1fc1bdf7 don't try to send contents during inventory construction 2017-09-20 10:18:24 +01:00
Dylan K. Taylor
85b2b2ae2e Don't send tile inventory slots during the constructor
This is completely pointless and a waste of time.
2017-09-20 10:15:28 +01:00
Dylan K. Taylor
38e11aae5e Some cleanup to how EntityInventoryChangeEvents are handled 2017-09-20 10:13:05 +01:00
Dylan K. Taylor
f0755d1659 Fixed handling of recipes that require a crafting table 2017-09-20 09:43:49 +01:00
Dylan K. Taylor
fd33a65e3b Small cleanup of recipe UUID handling (furnace recipes don't need UUIDs) 2017-09-20 09:34:00 +01:00
Dylan K. Taylor
7baadf9dad Throw updated pthreads at Travis 2017-09-19 20:49:41 +01:00
Dylan K. Taylor
ca23864e4c CraftingManager: use null coalesce for matching furnace recipes 2017-09-19 20:03:21 +01:00
Dylan K. Taylor
8728547a11 Remove unused imports 2017-09-19 19:58:53 +01:00
Dylan K. Taylor
90fb3c5e12 Moved getNetworkType() to ContainerInventory since it's not used anywhere else 2017-09-19 19:57:22 +01:00
Dylan K. Taylor
1fb6d12a6b Add getInventory() to Container interface where it's actually useful 2017-09-19 19:26:41 +01:00
Dylan K. Taylor
1323d89139 Remove redundant duplicated code for sendContents() and sendSlot() 2017-09-19 19:07:12 +01:00
Dylan K. Taylor
136ab1dba1 Inventory->getItem(): Removed useless clones
this already returns a copy of the item anyway... wtf?
2017-09-19 18:49:08 +01:00
Dylan K. Taylor
8cae20e818 Removed hotbar slot linking (works like PC now) 2017-09-19 18:36:57 +01:00
Dylan K. Taylor
ff2b3bfa2a SimpleCommandMap: remove some dupe and arrange commands alphabetically 2017-09-18 18:43:06 +01:00
Dylan K. Taylor
361b262d3a Merge branch 'master' into mcpe-1.2 2017-09-18 10:29:38 +01:00
Dylan K. Taylor
1fd7f441b4 Travis: use older version of pthreads
master is broken - https://github.com/krakjoe/pthreads/issues/757
2017-09-18 10:20:15 +01:00
Dylan K. Taylor
3f56d6ddc8 RakLibInterface: removed useless needACK condition 2017-09-18 09:42:25 +01:00
Dylan K. Taylor
1e4cbb0dd9 RakLibInterface: move array initialization to default value
doesn't make sense to do this in the ctor when all the others are normal
2017-09-18 09:34:00 +01:00
Dylan K. Taylor
a99eee9def Removed redundant assignment 2017-09-17 20:01:11 +01:00
Dylan K. Taylor
bdee746e46 Automatically enable ANSI colours on Windows versions that support it
Note that stream_isatty() and sapi_windows_vt100_support() are ONLY defined on PHP 7.2, and the latter is only available on Windows.
2017-09-17 19:57:20 +01:00
Dylan K. Taylor
642c7733cd Cleaned up ShapedRecipe handling, ShapedRecipe API changes
use shapes from json instead of just generating maps
fix a ton of bugs
2017-09-17 11:45:16 +01:00
Dylan K. Taylor
c8199e14ad Removed redundant duplicate method call 2017-09-16 23:09:14 +01:00
Dylan K. Taylor
0f37bc35ba Always evacuate the crafting grid on close, no matter whether it's big or not
otherwise items will get deleted and people will cry
2017-09-16 21:58:10 +01:00
Dylan K. Taylor
8dc3d019f6 Return handled on fake window close 2017-09-16 21:55:25 +01:00
Dylan K. Taylor
bd64172750 Added API method Item->equalsExact() and removed some boilerplate code 2017-09-15 16:48:46 +01:00
Dylan K. Taylor
0e51820dfb Merge remote-tracking branch 'origin/master' into mcpe-1.2 2017-09-15 15:54:30 +01:00