Commit Graph

859 Commits

Author SHA1 Message Date
sk89q
a450dcbb83 Fixed CraftScheduler to catch exceptions thrown by tasks, rather than crash the server. 2011-04-18 23:48:16 -07:00
EvilSeph
0048b22e44 Fixed another issue involving invalid player positions or movement. 2011-04-19 01:39:23 -04:00
EvilSeph
5e154b2235 Fixed name display in log messages for invalid yaw/pitch check. 2011-04-19 00:49:59 -04:00
sk89q
8aa376fc27 Added pre-login event for catching logins right after name verification has completed. This happens in a different thread from the server (and thus can also block). 2011-04-16 03:08:13 -07:00
Andrew Ardill
dc6c906e1a The @Override annotation should only be used when overriding a method.
Not when implementing an interface.
2011-04-14 12:58:04 +10:00
EvilSeph
2c1f336e97 Fixed an oversight allowing players to set invalid positions. 2011-04-13 21:14:04 -04:00
EvilSeph
f34f41a471 Fixed the NaN check in Entity.java 2011-04-13 03:13:36 -04:00
EvilSeph
70eb283bd0 Removed redundant check due to merging the ifs. Ooops. 2011-04-12 22:14:42 -04:00
EvilSeph
534d546002 Fixed a crash involving invalid positions. 2011-04-12 22:03:54 -04:00
sk89q
7baf5fa484 Made fauxSleeping persist on death and cross-world teleport. 2011-04-11 17:10:17 -07:00
sk89q
8de85b8afb Fixed potential NPE with bed leave event. 2011-04-11 17:07:20 -07:00
sk89q
86c467cb50 Fixin' the problem of AFK people not in bed. 2011-04-11 11:48:31 -07:00
EvilSeph
2685de187a Made what should be the last change missed in translation that might cause chunk issues. 2011-04-07 19:51:29 -04:00
Erik Broes
62e10c774b And Bukkit only provide avaje.ebean, oops :D 2011-04-08 00:21:55 +02:00
Erik Broes
13e31d11c2 Prevent maven shade-duplication spam where not needed 2011-04-08 00:19:41 +02:00
sk89q
27d3396a35 Added bed events and methods. 2011-04-07 11:26:51 -07:00
EvilSeph
e2480e1347 Fixed firstEmpty() by making it search for the first null instead of Material.AIR. 2011-04-07 13:06:55 -04:00
Tony
4525d16842 Prevent nasty connection errors from hitting the console. 2011-04-07 09:52:04 -04:00
Dinnerbone
c99dc23917 Fix for invalid float values too 2011-04-07 07:20:11 +01:00
alron
270310a3a5 Made another change that was missed in translation that might cause chunk issues. This should address one of the chunk issues experienced when teleporting. 2011-04-07 01:56:39 -04: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
3c9944237a Fixed Compile error 2011-04-06 21:51:20 -04:00
Tahg
e1acd683b4 Fixed some NPE issues caused by previous commit 2011-04-06 21:34:50 -04:00
Tahg
2c1f57e20b Fixed stupidity in CraftInventory return types 2011-04-06 13:20:50 -04:00
Tahg
92e3957a0e getContents now returns null for items whose underlying item is null 2011-04-06 12:45:03 -04:00
Dinnerbone
8385b1436e Allows eggs support with Slimes, Wolves and Monsters 2011-04-05 17:19:24 +01:00
Dinnerbone
8f461f5bbb Restored .gitignore 2011-04-05 16:46:36 +01:00
Dinnerbone
27c7571721 Added prerequisite org.avaje.ebean 2.7.3 to pom.xml 2011-04-05 16:45:42 +01:00
EvilSeph
9849076dbf Made changes that were missed in translation that might cause chunk issues. 2011-04-04 20:26:37 -04:00
Tahg
7a99fd7327 added some API for entities 2011-04-04 01:07:39 -04:00
afforess
d1e6408ea2 Changed PlayerQuit to allow last minute modifications to player state. 2011-04-03 16:11:16 -04:00
afforess
0f3f3c552a Added player.saveData and player.loadData. 2011-04-03 15:52:07 -04:00
Erik Broes
5a04262051 Prevent junit:junit from being packaged as its not needed to run 2011-04-03 11:21:40 +02:00
Erik Broes
083e3ebd6e Base digging/blockbreaks on actual time rather than the servers tickrate.
Servers under high load suffer from tick-time degradation as severe as 1 tick
taking 0.25s (rather than 0.05s).  This will failing blockbreaks.
2011-04-03 11:06:12 +02:00
Raphfrk
121bcd5adc Added the ability to set the quit message 2011-04-02 18:22:19 +02:00
Erik Broes
c84d51f458 Fix chunk.getEntities 2011-04-02 17:56:06 +02:00
Stephen
5247bcba64 Implemented entity.getNearbyEntities() 2011-04-02 17:22:58 +02:00
afforess
a0b2a26c3a implementation of Entity.isDead 2011-04-02 17:19:39 +02:00
afforess
adb13029bc Forces clients to update to the new time immediately when setTime or setFullTime is called. 2011-04-02 17:17:17 +02:00
Robert Sargant
39972530f2 Added VEHICLE_DESTROY event 2011-04-02 17:12:18 +02:00
William Bowers
325f4e0c22 Implemented the new SpawnChangeEvent in CraftWorld.setSpawnLocation() 2011-04-02 16:58:50 +02:00
Dinnerbone
d5096a0193 Changed default database location to {NAME}.db instead of database.db 2011-04-01 16:52:00 +01:00
Dinnerbone
12b2d5ee1d Added mysql dep 2011-04-01 16:06:47 +01:00
Dinnerbone
8b25433982 Implemented ebeans 2011-04-01 16:06:46 +01:00
Dinnerbone
160b54c965 Made Server a singleton 2011-04-01 16:06:46 +01:00
Erik Broes
c16ba1f940 Fix Entity.setVelocity 2011-04-01 12:28:55 +02:00
Erik Broes
09cfbfbf73 Fix world.getFullTime() 2011-04-01 09:24:42 +02:00
Erik Broes
c0a78fa6c6 Exempt players from calling CreatureSpawn 2011-04-01 09:15:48 +02:00
Erik Broes
7eeb0d8f4a Fix coordinates on SIGN_CHANGE 2011-04-01 09:10:29 +02:00
Erik Broes
a3a1436df5 Updated packet-filters 2011-04-01 00:27:04 +02:00