3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-18 05:50:04 +01:00
Commit graph

74 Commits

Autor SHA1 Nachricht Datum
Andrew Ardill
b0ab686964 Avoid some avoidable calls, clean PluginManager accessors 2011-12-19 18:32:35 +11:00
Sam Wilson
a7744ac751 Prevent VehicleEnterEvent being sent when player exits vehicle.
Fix for BUKKIT-223.

Issue BUKKIT-223: When a player exits a minecart or boat, both a
VehicleExitEvent and a VehicleEnterEvent are fired.  Only the
VehicleExitEvent should fire.

Reason for bug: This occurs because the VehicleEnterEvent is fired in
EntityBoat.b and EntityMinecart.b *any* time a player right-clicks on
a vehicle, whether the right-click is to enter the vehicle or exit it.

Fix: By moving the creation of VehicleEnterEvents from EntityBoat.b
and EntityMinecart.b to Entity.setPassengerOf, we can create either a
VehicleEnterEvent or a VehicleExitEvent, depending on whether the
player is entering or exiting a vehicle.
2011-12-19 18:22:38 +11:00
Andrew Ardill
b1a3aa602a Clean-up some events to maintain general style 2011-12-05 19:23:40 +11:00
Nathan Adams
8fbe78a2c3 Updated to use mc-dev rename revision 1 2011-11-30 21:46:19 +00:00
Andrew Ardill
3da00ee41a Implementation of reworked EntityCombustEvents
Also includes some extra comments, and a refactoring of the
PaintingBreakByEntity event that is raised when lighting strikes a painting.
2011-11-29 18:20:21 +11:00
Erik Broes
ba608f55e4 Remove expensive debugcalls from production code 2011-11-26 18:27:39 +01:00
Erik Broes
345ea36c7b Update for 1.0.0 2011-11-20 00:01:33 -08:00
Dinnerbone
0118a20d6a Update to mcdev rename revision 01 for 1.8.1 2011-09-24 22:05:22 +01:00
Dinnerbone
2b5a61f03d Rename revision 2 2011-09-15 17:39:17 +01:00
Dinnerbone
ca57a1a1af 1.8 rename fixes 2011-09-15 04:44:32 +01:00
Dinnerbone
5b2c774edc Update for Minecraft 1.8 2011-09-15 01:23:52 +01:00
Erik Broes
f7712eb20c Deprecated Block.getFace(Face) and Block.getFace(Face,int); use getRelative() 2011-07-17 18:14:45 +02:00
sunkid
30a382a6dc Made ProjectileHitEvent fire instantly when projectiles don't hit entities. 2011-07-14 22:37:31 -04:00
Warren Loo
eb19e4e8dc Fixed uuid code that was prematurely pushed. 2011-07-13 02:19:56 -04:00
Tahg
d0f904fc50 uuid changes 2011-07-13 00:06:07 -04:00
Dinnerbone
2f218ba6b1 Update for 1.7.3 2011-07-08 13:25:53 +01:00
Rigby
9ced39421f Implements a World UID. 2011-07-07 14:20:05 -04:00
Dinnerbone
a679e7f380 Update to Minecraft 1.7 2011-06-30 15:19:25 +01:00
Erik Broes
a98c7ba2c7 Massive renaming update in nms. If you bypassed Bukkit, you will likely break.
Also minimized all the nms diffs and generic cleanups all around.
2011-06-27 00:47:03 +02:00
sunkid
155874eec9 Implemented the concept of a projectile. 2011-06-18 22:21:02 -04:00
Rigby
0ef0bdb61c I'm sorry Paintings... please come back... 2011-06-19 09:05:28 +08:00
EvilSeph
105cc5393c Forgot to account for code shuffling with player.dat fixes. 2011-06-17 08:59:03 -04:00
Rigby
0c56bfb62f Possible Player.dat fixes to address issues with switching between Vanilla and Bukkit or vice versa. 2011-06-17 01:00:19 -04:00
Erik Broes
96b1b8a10c Generic cleanup 2011-06-12 00:30:52 +02:00
EvilSeph
a98f4f8934 Fixed not being able to login if the world saved in your player.dat no longer exists. Thanks for the help Rigby and Verrier! 2011-06-10 05:45:17 -04:00
Tahg
5296f97cde Portal changes. 2011-06-08 16:57:46 -04:00
EvilSeph
17c361a5e4 Exempt Vehicles from Entity.java's sanity check 2011-06-07 04:25:19 -04:00
EvilSeph
d33c06ead2 Added UniqueId to entities. Thanks Afforess! 2011-06-07 04:21:33 -04:00
Erik Broes
6dbd710bbf Update for 1.6.5 2011-05-30 22:37:34 -04:00
Dinnerbone
6903f20242 Implemented 1.6! 2011-05-26 13:48:22 +01:00
sk89q
f463453d73 Fixed issue where the Bukkit entity was detected before the entirety of the entity's NBT data was read, causing affected entity types to not be differentiated correctly. 2011-05-23 19:42:30 -07:00
Erik Broes
309846d732 Whitespace + general cleanup 2011-05-15 13:41:46 +02:00
EvilSeph
0740e0c777 Fixes the whitescreen issue some people were having. 2011-04-24 20:16:01 -04:00
EvilSeph
5dfe732f18 Added reset for pitch/yaw if they are somehow set to NaN. 2011-04-23 04:18:00 -04:00
Dinnerbone
0586e04981 Implemented LIGHTNING damage 2011-04-21 17:29:35 +01:00
Erik Broes
a6c8a36dce Update for 1.5_02. 2011-04-21 04:25:46 -04:00
Erik Broes
483a878b8b Update for 1.4_00_01 -- if you bypassed Bukkit, you will most likely break. 2011-04-20 19:05:14 +02:00
EvilSeph
5e154b2235 Fixed name display in log messages for invalid yaw/pitch check. 2011-04-19 00:49:59 -04:00
EvilSeph
f34f41a471 Fixed the NaN check in Entity.java 2011-04-13 03:13:36 -04:00
Dinnerbone
c99dc23917 Fix for invalid float values too 2011-04-07 07:20:11 +01:00
Dinnerbone
13218f55e4 Fixed a crash in pitch/yaw calculation, probably a big improvement performance too (but then maybe not :D) 2011-04-07 06:51:36 +01:00
Tahg
7a99fd7327 added some API for entities 2011-04-04 01:07:39 -04:00
Dinnerbone
87c36febeb Updated to Minecraft version 1.4 2011-03-31 21:40:00 +01:00
Erik Broes
e24b10dfd9 Updated for the cleanups done in Bukkit 2011-03-26 22:32:56 +01:00
afforess
69cbe7d222 Allow Vehicle Motion to save properly 2011-03-23 18:43:08 +01:00
Tanel Suurhans
5f20de34a9 - fix VEHICLE_COLLISION_BLOCK event firing 2011-02-28 16:25:53 +00:00
Dinnerbone
13f55ce0c8 Fixed logging back in on non-default worlds (Yes really) 2011-02-24 15:46:26 +00:00
Erik Broes
09aa37fe4a Generic code cleanup 2011-02-23 14:12:33 +01:00
Dinnerbone
f759e0b60d Update to Minecraft 1.3 beta 2011-02-23 02:37:56 +00:00
Dinnerbone
f659231e34 N.M.S cleanup in preparation for update 2011-02-21 22:30:01 +00:00