Commit Graph

432 Commits

Author SHA1 Message Date
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
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
Erik Broes
40f7986a11 Make the spawning listen to the server spawn-settings 2011-02-13 01:21:50 +01:00
Stéphan Kochen
f789c9e744 Replace a net.minecraft accessor with a public attr. 2011-02-12 16:17:43 +01:00
afforess
5aa95ee469 Added MaxSpeed methods to minecarts. Added MaxSpeed methods to boats. Added SlowWhenEmpty, FlyingMod, and DerailedMod methods to minecarts. 2011-02-12 16:14:43 +01:00
Andrew Ardill
be9a264249 Fixed bug in event when taking fall damage. Now uses event damage. 2011-02-12 22:40:28 +11:00
culturespy
e2899b9dd7 Added EXPLOSION_PRIMED event. 2011-02-12 02:57:58 -05:00
Timberjaw
348e6c75c7 Added SIGN_CHANGE event. 2011-02-11 20:49:09 -05:00
Andrew Ardill
c097fd9ac5 Added implementation of Colorable to CraftSheep
inspired by xpansive
2011-02-12 12:29:22 +11:00
James Logsdon
09c6389b3f Adding PLAYER_PICKUP_ITEM event hook 2011-02-12 01:39:00 +01:00
James Logsdon
82931a601d Adding PLAYER_DROP_ITEM event hook 2011-02-12 01:09:42 +01:00
cvpcs
71f97ffc5b Send a BlockRedstoneEvent if powered redstone is destroyed
When a powered redstone block is destroyed, a BlockRedstoneEvent should
be sent to notify plugins that particular block is returning to current
0 before the BlockDamageEvent is sent.  This allows plugins dealing with
redstone to not have to listen for redstone destruction, but just listen
to changes in current.
2011-02-12 00:32:39 +01:00
Dinnerbone
4b6c633659 Removed debug and fixed //craftbukkit comments from 0239b76f611597f8486a 2011-02-11 09:27:57 +00:00
Tahg
c0b940d619 more chunk fixes 2011-02-11 02:01:32 -05:00
Tahg
41e136b880 fix in LongHashset.java 2011-02-10 14:59:41 -05:00
Tahg
89232b826b fixes for chunks 2011-02-10 14:33:41 -05:00
Tahg
524f966ef3 Merge branch 'master' of https://github.com/Bukkit/CraftBukkit 2011-02-10 09:24:14 -05:00
Dinnerbone
1d49e5a4b1 Fixed chunk unloading 2011-02-10 13:27:53 +00:00
Dinnerbone
a52f5ef520 Threadsafe World.c(int i, int j) 2011-02-10 11:56:30 +00:00
Zenexer
96794e15db Added spawn-protection property to server.properties 2011-02-10 12:16:31 +08:00
Zenexer
1da852265a Added spawn-protection property to server.properties 2011-02-10 12:16:30 +08:00
Zenexer
fbe54b05f4 Added spawn-protection property to server.properties 2011-02-10 12:16:30 +08:00
Dinnerbone
814c9d444f Fixed LongHashtable.values() 2011-02-09 20:55:04 +00:00
Dinnerbone
18efbd82b6 Worlds are now in the order they are loaded, with [0] being default 2011-02-09 20:25:14 +00:00