High performance Spigot fork that aims to fix gameplay and mechanics inconsistencies
Go to file
ST-DDT 93c0d7e6b5 Fix negative damage from Zombies. Fixes BUKKIT-4193
Currently, the method used for calculating the damage of zombies is scaled
to their health, but it uses the default max health rather than the real
max health value. If zombies have more health than the default max health
value, the amount of damage they deal becomes negative.

This is caused by EntityZombie.getMaxHealth() returning a hardcoded value of
20, which is the vanilla max health for zombies. Rather than using this value
when calculating zombie damage, the call is changed to instead use
((CraftLivingEntity) this.bukkitEntity).getMaxHealth(). This uses the true
maximum health of the Entity. "this.maxHealth" could be used instead of the
aforementioned method, however that creates a very unclear diff, and a
confusing change.
2013-06-13 16:53:35 -06:00
src Fix negative damage from Zombies. Fixes BUKKIT-4193 2013-06-13 16:53:35 -06:00
.gitignore Ignore all .DS_Store files, not just the one in the project root. 2013-03-21 01:20:08 -04:00
CONTRIBUTING.md Remove point about squashing commits. 2013-03-18 23:49:15 -03:00
LGPL.txt We're LGPL. 2011-01-02 10:58:11 +01:00
LICENCE.txt We're LGPL. 2011-01-02 10:58:11 +01:00
pom.xml Updated version to 1.5.2-R0.2-SNAPSHOT for development towards next release. 2013-05-03 18:39:32 -04:00
README.md Add link to CONTRIBUTING.md in README 2013-03-18 19:26:15 -07:00

CraftBukkit

A Bukkit (Minecraft Server API) implementation

Website: http://bukkit.org
Bugs/Suggestions: http://leaky.bukkit.org
Contributing Guidelines: CONTRIBUTING.md

Compilation

We use maven to handle our dependencies.

  • Install Maven 3
  • Check out and install Bukkit
    • Note: this is not needed as the repository we use has Bukkit too, but you might have a newer one (with your own changes :D)
  • Check out this repo and: mvn clean package