Commit Graph

954 Commits

Author SHA1 Message Date
Tahg
280880d163 synchronize hashmap lookups 2011-02-23 22:52:14 -05:00
Tahg
edb0debd16 attempt to track down some bugs 2011-02-23 22:36:56 -05:00
stevenh
2db976c840 Corrected Exceptions text when loading and saving ops 2011-02-24 01:18:23 +00:00
Dinnerbone
92cbb2fc23 Fixed CraftItem NPEs 2011-02-23 16:08:28 +00:00
Erik Broes
09aa37fe4a Generic code cleanup 2011-02-23 14:12:33 +01:00
Erik Broes
332d9c4f18 BlockStationary fix 2011-02-23 13:56:43 +01:00
Dinnerbone
bfca34cad4 ConsoleCommandSender no longer has a default constructor, use ConsoleCommandSender(server). Added entity.getServer and updated the version number of mc 2011-02-23 11:33:41 +00:00
speakeasy
6655b89037 possible fix for levers, ladders, and buttons 2011-02-23 11:27:22 +01:00
Dinnerbone
f622db3ea1 Fixed bad cast in EntityItem 2011-02-23 09:17:30 +00:00
Tahg
b8023ac3fa Fix for isOp 2011-02-23 14:08:42 +08:00
Dinnerbone
f759e0b60d Update to Minecraft 1.3 beta 2011-02-23 02:37:56 +00:00
Taylor Kelly
a124bfdab5 Fix PlayerRespawnEvent for multi-worlds 2011-02-22 19:02:06 +01:00
Tahg
96435cfc76 refactor Items 2011-02-21 19:57:23 -05:00
Dinnerbone
f659231e34 N.M.S cleanup in preparation for update 2011-02-21 22:30:01 +00:00
Dinnerbone
67cf646014 Merge branch 'master' of github.com:Bukkit/CraftBukkit 2011-02-21 21:27:01 +00:00
Andrew Ardill
30d1a5d3fd returning if a thread is not alive should happen before any changes to
the list of workers, hence the return statement should be in the
synchronized block.
2011-02-21 16:32:41 +11:00
Andrew Ardill
6269c1e633 implementation of isQueued() 2011-02-21 16:32:40 +11:00
Luke GB
6335a5af76 Modify URI to repo.bukkit.org 2011-02-21 00:37:09 +01:00
VictorD
bf9a55049e Second part of NPE and arctan update :3 2011-02-20 23:22:28 +01:00
VictorD
cec04a7360 Added null pointer check and switched to a faster arctan method 2011-02-20 23:16:05 +01:00
Daniel Chesters
4f249b585c Fix encoding in net.minecraft.server files. 2011-02-20 18:15:21 +01:00
David Flemström
5121ebb65d Fixed issue with color markers in messages sent to the client.
This fix eliminates crashes related to color markers being at end-of-line, and also makes colors persist across line breaks.

- The broadcast message is split up in multiple packets, one per line
- Color markers are reorganized, so that color 'sticks across lines'
- The wrapping method calculates the *rendered* line length. Thus, if the user has a weird font, it might look weird.
2011-02-20 18:15:21 +01:00
Erik Broes
09026095b6 Minor cleaning of code 2011-02-20 18:15:17 +01:00
Erik Broes
6e3ee31336 Prevent Blocks from getting lost when a chunk reloads 2011-02-20 17:09:38 +01:00
Tahg
ca4076077e fixed buttons, plates
added yield to explosion
added event for chunk unloading
2011-02-19 23:44:35 -05:00
Dinnerbone
a59149c208 Make all new loggers default to the same logging as "Minecraft" (to console + file, same format) 2011-02-20 02:14:15 +00:00
sk89q
d4b67c5549 Lowered the priority of the old command handler event. A number of plugins were using this event incorrectly. A new event, the command preprocesser event, has replaced the previous function of the original command event. 2011-02-19 18:02:13 -08:00
sk89q
acd0344452 Added Entity.remove() which marks an entity for removal. 2011-02-19 18:02:12 -08:00
sk89q
ec0eec5863 Added slime as a detected entity. 2011-02-19 18:02:12 -08:00
Dinnerbone
264b5c331d Redirect System.out and System.err to a Logger 2011-02-20 01:53:06 +00:00
Dinnerbone
a6b3965672 Fixed CLI arguments 2011-02-19 19:45:22 +00:00
Luke GB
b160913c43 Magic - updated gitdescriber 2011-02-19 15:36:07 +01:00
EvilSeph
bddceeaf51 When deprecating, the alternative should be provided. 2011-02-19 06:02:27 -05:00
Raphfrk
41fe211919 Added target block ray trace functionality. 2011-02-18 20:48:56 -05:00
Protected
e97889e80a Added setFireTicks(), getFireTicks() and getMaxFireTicks(). 2011-02-18 17:35:59 -05:00
EvilSeph
7b6713b918 Added pull request conventions that should be followed if you want your pull request accepted. 2011-02-18 17:17:00 -05:00
Dinnerbone
7fe0aa7460 Implemented a whole buncha Location overrides in CraftWorld 2011-02-18 16:35:05 +00:00
Dinnerbone
a5ca3e1c12 Don't kick players if a command failed from an exception 2011-02-18 16:25:56 +00:00
EvilSeph
e544fb71c3 Changed hatchingType to MobType from CreatureType as refactoring (and so plugin breaking) will take place in a week. 2011-02-17 03:17:13 -05:00
Andrew Ardill
da6ce2d80e Implementation of spawnCreature(Location, CreatureType) 2011-02-17 17:59:27 +11:00
Andrew Ardill
0703f4f458 Updated to use CreatureType and CreatureSpawner
Nothing will break as a result of the refactoring of MobType due to
deprecated code being left in. These will be removed after 1 week,
enough time for plugin devs time to migrate.
2011-02-17 17:57:52 +11:00
sk89q
5f940cf764 Added Player.chat(). 2011-02-16 21:47:01 -08:00
EvilSeph
03c118f343 Added CREATURE_SPAWN event per ss2man44 2011-02-16 22:45:00 -05:00
Andrew Ardill
dc45946163 implementation of isCurrentlyRunning(int taskId);
Burrows down to the worker thread assigned to this task, and returns
its alive status. If no such thread exists, then the task is not
running!
2011-02-17 13:27:54 +11:00
Luke GB
cf6c435c6e That messed up Jenkins 2011-02-15 22:55:23 +01:00
Luke GB
33bcae40c6 Further POM haxx. Now reads git description during build process.
NOTE: This may break people building on Windows - you must have git on your path. Ah well, who cares.
2011-02-15 22:35:47 +01:00
Luke Granger-Brown
c806adb068 Add repository info to POM 2011-02-15 00:36:00 +01:00
Raphfrk
973d61c418 Allows calling of functions in the main thread 2011-02-13 22:12:26 -05:00
Meaglin
4a4b67cc42 Implementation of BlockBreakEvent 2011-02-13 13:19:51 +01:00
Raphfrk
9715e77852 Fixes a deadlock issue in CraftScheduler 2011-02-13 00:55:58 -05:00