Commit Graph

462 Commits

Author SHA1 Message Date
Dinnerbone
6751433a8e Implemented new Server methods (getWorld + changes to createWorld) 2011-02-08 12:03:36 +00:00
Erik Broes
50e42496e3 @Override interface implementation is 1.6 exclusively 2011-02-07 11:03:56 +01:00
Erik Broes
7b840489a3 Oopsie on compile issue 2011-02-07 10:43:50 +01:00
Erik Broes
2497a61044 Moved changes we did to WorldServer back down to World. 2011-02-07 10:26:12 +01:00
Erik Broes
421d1c1c1f Fixing missing mandatory comments. 2011-02-07 09:49:42 +01:00
Tahg
8acebcd7d6 Fixed Chunk cache in world 2011-02-07 03:34:32 -05:00
Tahg
3629580868 Chunk fetching improvements 2011-02-07 01:33:57 -05:00
Dinnerbone
172db788b3 I'm quite aware that I fail at merging. 2011-02-07 01:59:06 +00:00
Dinnerbone
919023fe5d CraftWorld.toString has name 2011-02-07 01:51:07 +00:00
Dinnerbone
7a71347cdf Fixed logging into the correct world 2011-02-07 01:51:06 +00:00
Dinnerbone
3f8d9c0e1f Fixed inventory transition 2011-02-07 01:51:06 +00:00
Dinnerbone
e9b1607fdc Fixed entity updating 2011-02-07 01:51:06 +00:00
Dinnerbone
7bdc190637 Possibly fixed block/chunk leaking 2011-02-07 01:51:06 +00:00
Dinnerbone
8b14c72a8d Changes to reflect new Environment enum 2011-02-07 01:51:06 +00:00
Dinnerbone
4e6f4e3031 NPE 2011-02-07 01:51:06 +00:00
Dinnerbone
dcabbda57c Fixed invisibility after cross-world teleportation 2011-02-07 01:51:06 +00:00
Dinnerbone
590b3874a8 Fixed various multiworld teleporting issues 2011-02-07 01:51:05 +00:00
Dinnerbone
4c9f1a2275 Fixed NPE after traveling to another world 2011-02-07 01:51:05 +00:00
Dinnerbone
7e81245caf Probably definitely fixed mob leaking 2011-02-07 01:51:05 +00:00
Dinnerbone
ac899e51c1 Possibly fixed world leaks (mobs crossing into other worlds) 2011-02-07 01:51:05 +00:00
Erik Broes
550ad6f9d1 Proper 'otherworld' chunkloading 2011-02-07 01:51:05 +00:00
Dinnerbone
b229931ce6 Attempt to clear loaded chunks during multiworld teleportation 2011-02-07 01:51:05 +00:00
Dinnerbone
bf304ddc43 Fixed player teleportation 2011-02-07 01:45:32 +00:00
Dinnerbone
2be5181b0c Added internal MC support for multiple worlds 2011-02-07 01:44:43 +00:00
Raphfrk
9e7991ab52 Scheduler 2011-02-07 01:03:32 +01:00
Erik Broes
b64667cde4 Remove deprecated [gs]etTime calls 2011-02-06 13:30:50 +01:00
Forsaken
002b5ebefc Added PlayerKick (setReason, setLeaveMessage, setCancelled) and PlayerRespawn (setLocation) 2011-02-06 12:38:38 +01:00
Erik Broes
228b5e7ccd Added VEHICLE_COLLISION_ENTITY which vanished after porting the code 2011-02-06 11:51:35 +01:00
sk89q
4026cd656f Added CraftBlock.getVector(). 2011-02-05 23:19:36 -08:00
Erik Broes
4ede622195 Updated README.md 2011-02-05 16:03:40 +01:00
Raphfrk
101d01ef64 getLoadedChunks method 2011-02-05 15:06:02 +01:00
Peter Lamonica
73f0347eb0 Modified .gitignore to remove Mac filesystem dust (/.DS_Store) 2011-02-05 21:43:43 +08:00
EvilSeph
767c15369c Added version output to CraftBukkit that displays on startup.
Add a version display to the startup of CraftBukkit so that we have all
the information we need for support purposes simply by requesting a
server log be pastebinned. I wanted to have it display right after the
official Minecraft version is, but that would require modifying
the server itself.
2011-02-05 03:39:13 -05:00
Animosity
8932430aed Addded: int getMaxPlayers() 2011-02-05 01:36:41 -05:00
tahg
10f4f33ed0 fixed addItem hopefully 2011-02-04 21:38:15 -08:00
Tahg
d59a2332fb Merge branch 'master' of https://github.com/Bukkit/CraftBukkit 2011-02-05 00:03:01 -05:00
Tahg
2c798a9e9b Fix for multi-stack adds 2011-02-05 00:02:09 -05:00
EvilSeph
e79139d3f2 Save player data on save-all. 2011-02-04 22:49:24 -05:00
Erik Broes
be10e54235 Fixed NPE on missing kick-reason - http://redmine.bukkit.org/issues/359 2011-02-04 23:02:52 +01:00
VictorD
059d23b4c9 Half-step placement bug fix, all credits to Brettflan 2011-02-03 22:34:22 +01:00
VictorD
3a19f9e429 Merge branch 'master' of github.com:Bukkit/CraftBukkit 2011-02-03 22:33:40 +01:00
Warren
058ac34300 Added brief coding conventions - these may not be complete. 2011-02-03 13:15:38 -08:00
Brettflan
2f2bc28915 Fixes placement cancellation of single-step blocks, such as in protected areas like the spawn area.
The first line edited fixes it so other blocks placed on a single-step block aren't considered (only single-step blocks), and so that they're only considered when placed on the top face of the existing single-step block.
The second section of changed code keeps the final world.setTypeIdAndData() call from being incorrectly applied if it was indeed a single-block placed on an existing single-block.

Best way to test before and after is to put a bunch of single-step blocks in the spawn area as an Op, then de-Op yourself and try placing more blocks (single-step and otherwise, for example I also tested dirt blocks) on the sides and tops of the ones which you previously added as an Op.
2011-02-03 22:07:34 +01:00
Warren
dde3f5b474 Removed tab on line 97. 2011-02-03 12:57:17 -08:00
Limb
e77b080d83 Implemented Inventory.contains with a minimum amount of item required. As per feature request #187 2011-02-04 04:04:16 +08:00
Dinnerbone
c1c61b73c9 Totally useless commit to satisfy lukegb's outrageous demands 2011-02-02 18:23:19 +00:00
Erik Broes
04be2b9b31 Generic cleanup/reformat. 2011-02-02 00:39:08 +01:00
Erik Broes
001a45804e Clean vehicle code. 2011-02-02 00:29:37 +01:00
Erik Broes
1dac92a766 Update chunk handling. 2011-02-02 00:29:37 +01:00
Dinnerbone
21b8ef4435 Added CraftNoteBlock.play 2011-02-01 23:18:25 +00:00