Commit message (Collapse) | Author | Age | Lines | ||
---|---|---|---|---|---|
... | |||||
* | Reduce default size of path array. Addresses BUKKIT-1469. | Travis Watkins | 2012-05-31 | -1/+1 | |
| | | | | | | | | The Path object creates an array of 1024 PathPoint objects as the backing for a sorted queue but testing shows we tend to get only 80 or so entries in the array at most. To save memory this changes the default size of the array to 128. Changing it to 64 was considered but that triggered too many resizes which is detremental to performance. | ||||
* | Add Path.java from mc-dev for diff visibility | Travis Watkins | 2012-05-31 | -0/+128 | |
| | |||||
* | Fix bold states while printing; Fixes BUKKIT-1716 | Wesley Wolfe | 2012-05-26 | -8/+8 | |
| | |||||
* | Change mapping of Gold from yellow bold to yellow; Addresses BUKKIT-1717 | Wesley Wolfe | 2012-05-26 | -1/+1 | |
| | |||||
* | Removed AnimalTamer cache, fixes BUKKIT-1628 | Wesley Wolfe | 2012-05-24 | -18/+7 | |
| | |||||
* | Fixed broken hashCode() | Wesley Wolfe | 2012-05-24 | -5/+2 | |
| | |||||
* | Add in checks for potential NPEs. Fixes BUKKIT-1706 and BUKKIT-1590. | Travis Watkins | 2012-05-24 | -1/+13 | |
| | |||||
* | Don't spam console with errors on unexpected disconnect. Addresses BUKKIT-693 | Charles Daffern | 2012-05-23 | -2/+2 | |
| | |||||
* | Adding NetworkWriterThread for diff visibility | Charles Daffern | 2012-05-23 | -0/+68 | |
| | |||||
* | Fix inaccurate head yaw. Fixes BUKKIT-1702 | Charles Daffern | 2012-05-23 | -0/+5 | |
| | |||||
* | Use jansi's Windows support for terminal colors. | Travis Watkins | 2012-05-23 | -0/+1 | |
| | |||||
* | Remove "failed to querty stty columns" spam. Fixes BUKKIT-1669. | Travis Watkins | 2012-05-23 | -5/+13 | |
| | | | | | | | | When trying to execute stty to get terminal properties an InterruptedException can be triggered even though we've read all of the output from stty that we need. Instead of printing a warning and returning -1 in this case try to parse what data we do have and reset the cache timer. May also address BUKKIT-1627 and BUKKIT-1686. | ||||
* | Add files from jline for diff visibility | Travis Watkins | 2012-05-23 | -0/+309 | |
| | |||||
* | Add fallback for when jline fails to initialize. Fixes BUKKIT-1675. | Travis Watkins | 2012-05-23 | -2/+12 | |
| | |||||
* | [Bleeding] Improve handling of ItemStacks. Addresses BUKKIT-1697 | md_5 | 2012-05-23 | -3/+10 | |
| | |||||
* | Re-implement World.getTemperature and World.getHumidity | Score_Under | 2012-05-23 | -2/+2 | |
| | |||||
* | Don't cap food level at 20 when eating. Fixes BUKKIT-1667 | Travis Watkins | 2012-05-17 | -1/+2 | |
| | | | | | | | | | The amount of food gained when eating is used for calculating the food saturation value so capping it at 20 at this point causes us to get incorrect results. FoodMetaData.eat caps it at 20 anyway so we're safe to not do so here. Also readds a line from mc-dev that was mistakenly removed. | ||||
* | Replace TextWrapper with simple newline splitting. Fixes BUKKIT-1662 | Travis Watkins | 2012-05-16 | -79/+16 | |
| | | | | | | | | | | | TextWrapper used to try to ensure a message would wrap correctly on the client by counting the width of the characters in pixels and wrapping before hitting that limit. This was needed because the client would lose color information when wrapping and could not handle long lines of text. Now that both of these problems are solved in the client we can replace TextWrapper with simple code to split the message into multiple packets on newlines and ensure chat colors carry across to the new packet. | ||||
* | Revert obsolete "fix" for Redstone Torches | feildmaster | 2012-05-17 | -4/+1 | |
| | |||||
* | Assert that the block is still present after placement. Fixes BUKKIT-1399 | feildmaster | 2012-05-17 | -1/+1 | |
| | |||||
* | Fix block place protection using a larger radius. Fixes BUKKIT-1617 | feildmaster | 2012-05-16 | -1/+1 | |
| | |||||
* | Add option to strip color codes from server.log file | Travis Watkins | 2012-05-16 | -3/+21 | |
| | |||||
* | Add ConsoleLogFormatter for diff visibility | Travis Watkins | 2012-05-15 | -0/+51 | |
| | |||||
* | Update to jline 2. Fixes BUKKIT-717 | EdGruberman | 2012-05-15 | -31/+45 | |
| | | | | | JLine 2 allows for better color matching in the console and support for colors in console on Windows. Hopefully provides better performance as well. | ||||
* | Use a different temp file for each player to avoid corruption. Fixes BUKKIT-1607 | Travis Watkins | 2012-05-09 | -1/+1 | |
| | |||||
* | Fire events for fireball item usage. Fixes BUKKIT-1566 | Travis Watkins | 2012-05-09 | -0/+20 | |
| | |||||
* | Add ItemFireball from mc-dev for diff visibility | Travis Watkins | 2012-05-09 | -0/+55 | |
| | |||||
* | Revert "Fix potential NPE in vanish API. Fixes BUKKIT-1541" | feildmaster | 2012-04-27 | -8/+0 | |
| | | | | | | This reverts commit ebf121800bd3161e4af0f6d9229ccb39c31fc278. If the handle ever becomes null we need to know about it so we can debug it further. | ||||
* | Remove Player cache and edit CraftPlayer.equals to account for EntityID. ↵ | feildmaster | 2012-04-27 | -42/+20 | |
| | | | | Fixes BUKKIT-1541 and Addresses BUKKIT-761 | ||||
* | Don't call event if getOwner is null. Fixes BUKKIT-1545 | Travis Watkins | 2012-04-25 | -3/+7 | |
| | |||||
* | Fix growing large tress near world height. Fixes BUKKIT-1072 | md_5 | 2012-04-25 | -2/+2 | |
| | |||||
* | Check if packet is null before checking priority. Fixes BUKKIT-1579 | Travis Watkins | 2012-04-25 | -1/+1 | |
| | |||||
* | Optimized a little too much. Update goals every tick again to avoid AI oddness. | Travis Watkins | 2012-04-24 | -6/+2 | |
| | |||||
* | Fixed per-world spawn limits. I have no idea how we missed this. | Travis Watkins | 2012-04-24 | -7/+10 | |
| | |||||
* | Update players when potion effects are moved from them. Fixes BUKKIT-789 | Travis Watkins | 2012-04-24 | -1/+6 | |
| | |||||
* | Remove address from throttle hashmap before killing socket. Fixes BUKKIT-659 | Travis Watkins | 2012-04-24 | -1/+2 | |
| | |||||
* | Remove "Fetching addPacket..." spam as it isn't useful. Fixes BUKKIT-32 | Travis Watkins | 2012-04-24 | -2/+4 | |
| | |||||
* | Fix potential NPE in vanish API. Fixes BUKKIT-1541 | Travis Watkins | 2012-04-24 | -0/+8 | |
| | |||||
* | Remove legacy Chunk cache. Fixes BUKKIT-1400 | feildmaster | 2012-04-24 | -29/+12 | |
| | |||||
* | Load player data before calling PlayerLoginEvent. Fixes BUKKIT-1531 and ↵ | feildmaster | 2012-04-23 | -2/+3 | |
| | | | | Fixes BUKKIT-601. | ||||
* | We build for Java 1.5. | EvilSeph | 2012-04-23 | -1/+1 | |
| | |||||
* | Add per-world spawn limits with fallback to server-wide bukkit.yml settings. | Travis Watkins | 2012-04-23 | -1/+81 | |
| | | | | Fixes BUKKIT-1565 | ||||
* | Avoid doing unnecessary range checks when we're looping from start to end. | Travis Watkins | 2012-04-23 | -44/+207 | |
| | | | | | | | | | | | | | | | | | | Make EntityLiving call AI logic every tick again. Rework PathfinderGoalSelector logic. Adds UnsafeList for use in places where we use ArrayList and know we won't get index out of range errors. Added usage to World's tickEntities, Chunk's entitySlices to speed up searching for entities, and to PathfinderGoalSelector to speed up dealing with AI goals. Reworked logic in PathfinderGoalSelector with help from fullwall. This code no longer uses an extra ArrayList for setting up goals and only updates which goals should be run every other time it is called. Removed only calling PathfinderGoalSelector every other tick from EntityLiving as we now only setup new goals every other tick. This ensures existing goals run every tick to properly update mob movement. | ||||
* | Optimize AI and EntityLiving ticking | Travis Watkins | 2012-04-21 | -30/+47 | |
| | | | | | | | | Reduce usage of getCubes as it is an expensive call. Remove iterator usage and object creation from PathfinderGoalSelector methods as these are called very often. Update EntityLiving goal selectors less often as this is still quite an expensive task. | ||||
* | Add PathfinderGoalSelector for diff visibility | Travis Watkins | 2012-04-21 | -0/+91 | |
| | |||||
* | Rework clipping logic again, now works as well as the original implementation | EvilSeph | 2012-04-21 | -30/+84 | |
| | |||||
* | Added Packet24 for diff visibility. | EvilSeph | 2012-04-21 | -0/+67 | |
| | |||||
* | Reworking clipping logic; Fixes BUKKIT-1472 | Wesley Wolfe | 2012-04-15 | -85/+27 | |
| | |||||
* | Made permissions.yml registration easier; Addresses BUKKIT-1499 | Wesley Wolfe | 2012-04-15 | -5/+5 | |
| | | | | The permissions.yml now behaves similar to a plugin.yml | ||||
* | Properly call EntityDeathEvent for mobs. Fixes BUKKIT-1519 | feildmaster | 2012-04-15 | -3/+19 | |
| |