1
0
Commit Graph

9051 Commits

Author SHA1 Message Date
Tiger Wang
5a3c3447b7 Updated zlib 2015-07-09 23:06:23 +01:00
Samuel Barney
db3642de89 Fixed misplaced parens 2015-07-09 14:41:14 -06:00
Samuel Barney
aa94a275c6 Fixes compilation failures on MacOSX 10.10
* Replace old c-style casts with c++ casts
* Added `-Wno-error=old-style-cast` to Protocol18x.cpp
2015-07-09 11:15:37 -06:00
Mattes D
a55eaba7fa Network: Fixed ServerHandle's address formatting. 2015-07-07 18:10:47 +02:00
Nounours Heureux
91833b7cb8 (Ender) Chests are obstructed by opaque blocks. 2015-07-07 12:29:52 +02:00
Mattes D
bebd4de144 Fixed warnings generated by 64-bit MSVC. 2015-07-07 11:50:06 +02:00
Julian Laubstein
5953e0f1c6 Merge pull request #2319 from SamJBarney/master
Squashed Bonemeal Plant Growth Update
2015-07-06 23:47:40 +02:00
Samuel Barney
2faff189d4 Squashed Bonemeal Plant Growth Update
* Fixed Crops growing to maturity with only 1 bonemeal
* Trees now go through growth stages with bonemeal, as they do in
Vanilla Minecraft
2015-07-06 15:41:08 -06:00
worktycho
106e06617a Merge pull request #2224 from cuberite/ChunkQueueCollapsing
Chunk queue collapsing: MK II
2015-07-04 14:43:00 +01:00
worktycho
fa100d9345 Merge pull request #2312 from SamJBarney/master
Fixes grass dying at night
2015-07-03 20:44:03 +01:00
Samuel Barney
ba0577bbd0 Moved grabbing the light value to after the transparency check. 2015-07-03 13:05:02 -06:00
Samuel Barney
0307b6aba0 Added missing parens 2015-07-02 16:19:23 -06:00
Samuel Barney
e248539d74 Grass now only dies if it has an opaque block above it.
Grass only spreads to a dirt block if the light level is above 4 and the block above it is transparent.
2015-07-02 16:16:05 -06:00
Samuel Barney
404cf5dcfd Farmland is now listed as an opaque block.
Changed spread light falloff for farmland to what it was originally.
2015-07-02 16:13:40 -06:00
worktycho
11cf88b872 Merge pull request #2306 from cuberite/FixNeighborChangedLoop
Added neighbor specification in the OnNeighborChanged() block callback.
2015-07-01 10:39:46 +01:00
Mattes D
66a164a9a7 Added neighbor specification in the OnNeighborChanged() block callback.
Fixes the OnNeighborChanged endless recursion with large melon / pumpkin fields.
Fixes #2213.
2015-07-01 10:40:16 +02:00
Mattes D
b0bd1e3907 APIDump: Fixed a forgotten comma. 2015-06-30 22:36:51 +02:00
Mattes D
0a24f7977b Added the Prefabs folder to the files packed by build. 2015-06-30 22:05:21 +02:00
worktycho
49d88ae790 Merge pull request #2303 from cuberite/RemoveObsoleteScript
Removed the MakeLuaAPI script.
2015-06-30 14:05:05 +01:00
worktycho
351110fa3c Merge pull request #2304 from cuberite/FixBlockAreaHeight
BlockArea: Fixed a crash with areas higher than chunk height.
2015-06-30 14:04:31 +01:00
Mattes D
f6ab461383 BlockArea: Fixed a crash with areas higher than chunk height. 2015-06-30 14:08:21 +02:00
Mattes D
d646c81eb7 Removed the MakeLuaAPI script.
It has been superseded by feeding commands to the server directly via stdin.
2015-06-30 09:52:46 +02:00
Mattes D
e86f593c37 Fixed typos in the readme. 2015-06-30 08:00:10 +02:00
Mattes D
fe81a0dcde Merge pull request #2239 from cuberite/PortalSize
Added a size check for portals.
2015-06-28 21:04:34 +02:00
STRWarrior
e5cfe0cd96 Added a size check for portals.
Made the portal size configurable

Alpha-sorted SetXYZNetherPortalXYZ functions
2015-06-28 17:05:44 +02:00
tycho
257011b440 use atomic for state, to avoid torn reads 2015-06-27 12:10:24 +01:00
worktycho
acec8c5a83 Merge pull request #2294 from bibo38/horsefix
Now Horses spawn with correct data values.
2015-06-26 19:16:14 +01:00
bibo38
bb46afcb7e Now Horses spawn with correct data values.
The max-value of style is 4, of color is 6.
See http://wiki.vg/Entities#Horse
Also based on the if, the max value of HorseType is 7.
Bugfix #2259
2015-06-26 19:32:16 +02:00
worktycho
0a7c54261f Merge pull request #2241 from lkolbly/master
Work on NetherPortalScanner. Setup portal scanner to reset PortalCool…
2015-06-26 14:12:29 +01:00
worktycho
7187c00342 Merge pull request #2282 from Haxi52/button-fixes
Button fixes
2015-06-25 15:46:33 +01:00
Mattes D
8e1437be08 Merge pull request #2290 from bibo38/mousefix
Fixed Middle-Click Button in the ClickWindow-Packet.
2015-06-25 16:11:56 +02:00
worktycho
fc2834e74b Merge pull request #2291 from bibo38/doorfix
Doors now get placed on the server-side.
2015-06-25 14:33:13 +01:00
bibo38
31466fda5f Doors now get placed on the server-side.
The Y-Value is already the lower door block(From ItemHandler.cpp:346).
Increasing it once again, places the door into the air, which is blocked by Cuberite.
Bugfix #2279
2015-06-25 16:17:03 +02:00
bibo38
ec628846d2 Fixed Middle-Click Button in the ClickWindow-Packet.
See http://wiki.vg/Protocol#Click_Window
The MiddleClick has the button 2 and not 0. Now you can max an item in an inventory in Creative mode, without inventory desync.
Bugfix #2260
2015-06-25 13:01:48 +02:00
Hax52
9f1d1c058f Buttons no longer click on when already on. Buttons now play sound when clicking off. 2015-06-24 13:52:56 -05:00
Mattes D
c1780366b0 Merge pull request #2288 from cuberite/melonFix
Call Neighbour changed handlers when a melon is created
2015-06-24 14:59:47 +02:00
worktycho
744513f604 Merge pull request #2289 from cuberite/HangingFix
Added a forgotten break in cHangingEntity constructor.
2015-06-24 13:01:46 +01:00
Mattes D
4f8e2f180d Added a forgotten break in cHangingEntity constructor.
This had caused loading the cHangingEntity to fail in debug builds.
2015-06-24 13:39:11 +02:00
tycho
b02b262a7c Call Neighbour changed handlers when a melon is created
Should prevent cascading farmland updates on breaking melons
2015-06-23 21:27:37 +01:00
worktycho
c0d8a4933e Merge pull request #2284 from cuberite/FixBiomeGen
Generate biomes when pregenerating heights through CompositedHeiGen.
2015-06-23 17:26:39 +01:00
worktycho
ccd290bc72 Merge pull request #2285 from cuberite/MelonFix
Melon fix
2015-06-23 17:10:49 +01:00
Mattes D
2daa9c5854 Fixed melon metadata when growing from stem. 2015-06-23 17:23:35 +02:00
Mattes D
55a5f11b1b Fixed right-click with bonemeal.
The client would send invalid right-click events with Y set to 0x7ff, which would crash the server. Only process bonemeal for valid clicks (valid blockface).
2015-06-23 15:23:11 +02:00
Mattes D
6cd71a1e73 Generate biomes when pregenerating heights through CompositedHeiGen.
Fixes #2283.
2015-06-23 14:45:35 +02:00
Tiger Wang
33fc1474d9 Fixed minor errors in Tycho's code
Everything should work now :)
2015-06-22 21:27:13 +01:00
worktycho
532c80b6db Merge pull request #2280 from SamJBarney/master
Rebased version of Code for Grass Growth Fix
2015-06-22 19:53:13 +01:00
Samuel Barney
e70e2b8ecc Rebased version of Code 2015-06-22 11:29:38 -06:00
Mattes D
d83c9f194f Merge pull request #2274 from cuberite/ItemsRemovalFix
Refactored block placement workflow.
2015-06-21 22:18:17 +02:00
Mattes D
3889b2cac2 Refactored block placement workflow.
Multi-blocks can now use the default OnPlayerPlaced() callback in cItemHandler.
2015-06-21 19:49:22 +02:00
Mattes D
4ce8bebfd8 Merge pull request #2267 from cuberite/InfoDumpFix
Fixed InfoDump.lua when there are no commands in plugin.
2015-06-21 16:46:18 +02:00