Procházet zdrojové kódy

A bit of cleaning up

TfT_02 před 11 roky
rodič
revize
ce7a7a31a7

+ 3 - 3
Changelog.txt

@@ -8,7 +8,7 @@ Key:
   - Removal
   - Removal
 
 
 Version 1.4.07-dev
 Version 1.4.07-dev
- + Added Horses to the "Shake" ability
+ + Added horses to the "Shake" ability
  + Added ability to summon horses via "Call of the Wild" using apples
  + Added ability to summon horses via "Call of the Wild" using apples
  + Added XP gain to Taming for horses
  + Added XP gain to Taming for horses
  + Added new permission nodes to allow more control over Taming and "Call of the Wild"
  + Added new permission nodes to allow more control over Taming and "Call of the Wild"
@@ -42,13 +42,13 @@ Version 1.4.07-dev
  ! Nerfed Archery damage to eliminate constant one-hit kills.
  ! Nerfed Archery damage to eliminate constant one-hit kills.
  ! Changed the way Repair hands out XP, also added config options to control Repair XP
  ! Changed the way Repair hands out XP, also added config options to control Repair XP
  ! Changed Swords "Counter Attack" ability from passive to active. Blocking is required to activate.
  ! Changed Swords "Counter Attack" ability from passive to active. Blocking is required to activate.
- ! Hardcore mode can now be toggled for each skill individually
+ ! Hardcore modes can now be toggled for each skill individually
  ! Vampirism can now be enabled without having Skill Death Penalty enabled
  ! Vampirism can now be enabled without having Skill Death Penalty enabled
  ! Admin and Party chat prefixes are now customizable
  ! Admin and Party chat prefixes are now customizable
  ! Changed the color of party leader names in Party chat
  ! Changed the color of party leader names in Party chat
  ! Improved profile saving
  ! Improved profile saving
  ! Improved partial name matcher
  ! Improved partial name matcher
- ! Slightly improved update checker feedback
+ ! Improved update checker
  ! Updated localization files
  ! Updated localization files
  ! Party item share category states are now saved when the server shuts down.
  ! Party item share category states are now saved when the server shuts down.
  ! When using "Super Breaker" or "Giga Driller" abilities extra tool durability is used (again)
  ! When using "Super Breaker" or "Giga Driller" abilities extra tool durability is used (again)

+ 1 - 1
src/main/java/com/gmail/nossr50/skills/repair/RepairManager.java

@@ -35,7 +35,7 @@ public class RepairManager extends SkillManager {
     /**
     /**
      * Handles notifications for placing an anvil.
      * Handles notifications for placing an anvil.
      *
      *
-     * @param anvilId The item ID of the anvil block
+     * @param anvilType The {@link Material} of the anvil block
      */
      */
     public void placedAnvilCheck(Material anvilType) {
     public void placedAnvilCheck(Material anvilType) {
         Player player = getPlayer();
         Player player = getPlayer();

+ 1 - 1
src/main/java/net/h31ix/updater/Updater.java

@@ -260,7 +260,7 @@ public class Updater {
             ZipFile zipFile = new ZipFile(fSourceZip);
             ZipFile zipFile = new ZipFile(fSourceZip);
             Enumeration<? extends ZipEntry> e = zipFile.entries();
             Enumeration<? extends ZipEntry> e = zipFile.entries();
             while (e.hasMoreElements()) {
             while (e.hasMoreElements()) {
-                ZipEntry entry = (ZipEntry) e.nextElement();
+                ZipEntry entry = e.nextElement();
                 File destinationFilePath = new File(zipPath, entry.getName());
                 File destinationFilePath = new File(zipPath, entry.getName());
                 destinationFilePath.getParentFile().mkdirs();
                 destinationFilePath.getParentFile().mkdirs();
                 if (entry.isDirectory()) {
                 if (entry.isDirectory()) {

+ 3 - 1
src/main/resources/repair.vanilla.yml

@@ -1,4 +1,6 @@
-##  Last updated on ${project.version}-b${BUILD_NUMBER}
+#
+#  Repair configuration
+#  Last updated on ${project.version}-b${BUILD_NUMBER}
 #
 #
 # Any file named repair.*.yml in the mcmmmo folder will be loaded as a repair config
 # Any file named repair.*.yml in the mcmmmo folder will be loaded as a repair config
 # All repair configs have a main section titled "Repairables"
 # All repair configs have a main section titled "Repairables"