Cleanup of unnecessary void method and class modifiers.
This commit is contained in:
@@ -412,7 +412,7 @@ public class FortSiegeGuardAI extends CreatureAI implements Runnable
|
||||
attackPrepare();
|
||||
}
|
||||
|
||||
private final void factionNotifyAndSupport()
|
||||
private void factionNotifyAndSupport()
|
||||
{
|
||||
final Creature target = getAttackTarget();
|
||||
// Call all WorldObject of its Faction inside the Faction Range
|
||||
|
@@ -565,7 +565,7 @@ public class SiegeGuardAI extends CreatureAI implements Runnable
|
||||
factionNotify();
|
||||
}
|
||||
|
||||
private final void factionNotify()
|
||||
private void factionNotify()
|
||||
{
|
||||
final Creature actor = getActor();
|
||||
final Creature target = getAttackTarget();
|
||||
|
@@ -77,7 +77,7 @@ public class FakePlayerTable
|
||||
/**
|
||||
* Just load the data from mysql...
|
||||
*/
|
||||
private final void load()
|
||||
private void load()
|
||||
{
|
||||
if ((spawns == null) || (templates == null))
|
||||
{
|
||||
|
@@ -121,7 +121,7 @@ public class ZoneData
|
||||
}
|
||||
}
|
||||
|
||||
private final void load()
|
||||
private void load()
|
||||
{
|
||||
// Get the world regions
|
||||
WorldRegion[][] worldRegions = World.getInstance().getAllWorldRegions();
|
||||
|
@@ -312,7 +312,7 @@ public enum ClassId
|
||||
return _nextClassIds;
|
||||
}
|
||||
|
||||
private final void addNextClassId(ClassId cId)
|
||||
private void addNextClassId(ClassId cId)
|
||||
{
|
||||
_nextClassIds.add(cId);
|
||||
}
|
||||
|
@@ -19,7 +19,7 @@ package org.l2jmobius.gameserver.geoengine.geodata;
|
||||
/**
|
||||
* @author HorridoJoho
|
||||
*/
|
||||
public final class Cell
|
||||
public class Cell
|
||||
{
|
||||
/** East NSWE flag */
|
||||
public static final byte NSWE_EAST = 1 << 0;
|
||||
|
@@ -29,7 +29,7 @@ import org.l2jmobius.gameserver.geoengine.geodata.regions.Region;
|
||||
/**
|
||||
* @author HorridoJoho
|
||||
*/
|
||||
public final class GeoData
|
||||
public class GeoData
|
||||
{
|
||||
// world dimensions: 1048576 * 1048576 = 1099511627776
|
||||
private static final int WORLD_MIN_X = -655360;
|
||||
|
@@ -23,7 +23,7 @@ import org.l2jmobius.gameserver.geoengine.geodata.IBlock;
|
||||
/**
|
||||
* @author HorridoJoho
|
||||
*/
|
||||
public final class ComplexBlock implements IBlock
|
||||
public class ComplexBlock implements IBlock
|
||||
{
|
||||
private final short[] _data;
|
||||
|
||||
|
@@ -21,7 +21,7 @@ import org.l2jmobius.gameserver.geoengine.geodata.IRegion;
|
||||
/**
|
||||
* @author HorridoJoho
|
||||
*/
|
||||
public final class NullRegion implements IRegion
|
||||
public class NullRegion implements IRegion
|
||||
{
|
||||
public static final NullRegion INSTANCE = new NullRegion();
|
||||
|
||||
|
@@ -27,7 +27,7 @@ import org.l2jmobius.gameserver.geoengine.geodata.blocks.MultilayerBlock;
|
||||
/**
|
||||
* @author HorridoJoho
|
||||
*/
|
||||
public final class Region implements IRegion
|
||||
public class Region implements IRegion
|
||||
{
|
||||
private final IBlock[] _blocks = new IBlock[IRegion.REGION_BLOCKS];
|
||||
|
||||
|
@@ -85,7 +85,7 @@ public class CellNodeBuffer
|
||||
return null;
|
||||
}
|
||||
|
||||
public final void free()
|
||||
public void free()
|
||||
{
|
||||
_current = null;
|
||||
|
||||
@@ -136,7 +136,7 @@ public class CellNodeBuffer
|
||||
return result;
|
||||
}
|
||||
|
||||
private final void getNeighbors()
|
||||
private void getNeighbors()
|
||||
{
|
||||
if (_current.getLoc().canGoNone())
|
||||
{
|
||||
|
@@ -184,7 +184,7 @@ public class ScrollOfEscape implements IItemHandler
|
||||
player.setSkillCastEndTime(10 + GameTimeTaskManager.getInstance().getGameTicks() + (skill.getHitTime() / GameTimeTaskManager.MILLIS_IN_TICK));
|
||||
}
|
||||
|
||||
static class EscapeFinalizer implements Runnable
|
||||
private static class EscapeFinalizer implements Runnable
|
||||
{
|
||||
private final Player _player;
|
||||
private final int _itemId;
|
||||
|
@@ -126,7 +126,7 @@ public class SoulCrystals implements IItemHandler
|
||||
ThreadPool.schedule(cf, skill.getHitTime());
|
||||
}
|
||||
|
||||
static class CrystalFinalizer implements Runnable
|
||||
private static class CrystalFinalizer implements Runnable
|
||||
{
|
||||
private final Player _player;
|
||||
private final Attackable _target;
|
||||
|
@@ -166,7 +166,7 @@ public class SummonItems implements IItemHandler
|
||||
}
|
||||
}
|
||||
|
||||
static class PetSummonFeedWait implements Runnable
|
||||
private static class PetSummonFeedWait implements Runnable
|
||||
{
|
||||
private final Player _player;
|
||||
private final Pet _petSummon;
|
||||
@@ -197,7 +197,7 @@ public class SummonItems implements IItemHandler
|
||||
}
|
||||
}
|
||||
|
||||
static class PetSummonFinalizer implements Runnable
|
||||
private static class PetSummonFinalizer implements Runnable
|
||||
{
|
||||
private final Player _player;
|
||||
private final Item _item;
|
||||
|
@@ -364,7 +364,7 @@ public class Wedding implements IVoicedCommandHandler
|
||||
return true;
|
||||
}
|
||||
|
||||
static class EscapeFinalizer implements Runnable
|
||||
private static class EscapeFinalizer implements Runnable
|
||||
{
|
||||
private final Player _player;
|
||||
private final int _partnerx;
|
||||
|
@@ -129,7 +129,7 @@ public class AuctionManager
|
||||
load();
|
||||
}
|
||||
|
||||
private final void load()
|
||||
private void load()
|
||||
{
|
||||
try (Connection con = DatabaseFactory.getConnection())
|
||||
{
|
||||
|
@@ -107,7 +107,7 @@ public class CastleManager
|
||||
return result;
|
||||
}
|
||||
|
||||
private final void load()
|
||||
private void load()
|
||||
{
|
||||
LOGGER.info("Initializing CastleManager");
|
||||
try (Connection con = DatabaseFactory.getConnection())
|
||||
|
@@ -55,7 +55,7 @@ public class CoupleManager
|
||||
load();
|
||||
}
|
||||
|
||||
private final void load()
|
||||
private void load()
|
||||
{
|
||||
try (Connection con = DatabaseFactory.getConnection())
|
||||
{
|
||||
|
@@ -94,7 +94,7 @@ public class CursedWeaponsManager
|
||||
LOGGER.info("Reloaded: " + _cursedWeapons.size() + " cursed weapon(s).");
|
||||
}
|
||||
|
||||
private final void load()
|
||||
private void load()
|
||||
{
|
||||
LOGGER.info("Initializing CursedWeaponsManager.");
|
||||
try
|
||||
@@ -170,7 +170,7 @@ public class CursedWeaponsManager
|
||||
}
|
||||
}
|
||||
|
||||
private final void restore()
|
||||
private void restore()
|
||||
{
|
||||
try (Connection con = DatabaseFactory.getConnection())
|
||||
{
|
||||
@@ -205,7 +205,7 @@ public class CursedWeaponsManager
|
||||
}
|
||||
}
|
||||
|
||||
private final void controlPlayers()
|
||||
private void controlPlayers()
|
||||
{
|
||||
try (Connection con = DatabaseFactory.getConnection())
|
||||
{
|
||||
|
@@ -70,7 +70,7 @@ public class FortManager
|
||||
return index;
|
||||
}
|
||||
|
||||
private final void load()
|
||||
private void load()
|
||||
{
|
||||
try (Connection con = DatabaseFactory.getConnection())
|
||||
{
|
||||
|
@@ -166,7 +166,7 @@ public class FortSiegeManager
|
||||
character.removeSkill(SkillTable.getInstance().getSkill(247, 1));
|
||||
}
|
||||
|
||||
private final void load()
|
||||
private void load()
|
||||
{
|
||||
LOGGER.info("Initializing FortSiegeManager");
|
||||
InputStream is = null;
|
||||
|
@@ -672,7 +672,7 @@ public class MercTicketManager
|
||||
load();
|
||||
}
|
||||
|
||||
private final void load()
|
||||
private void load()
|
||||
{
|
||||
// load merc tickets into the world
|
||||
try (Connection con = DatabaseFactory.getConnection())
|
||||
|
@@ -181,7 +181,7 @@ public class SiegeManager
|
||||
character.removeSkill(SkillTable.getInstance().getSkill(247, 1));
|
||||
}
|
||||
|
||||
private final void load()
|
||||
private void load()
|
||||
{
|
||||
LOGGER.info("Initializing SiegeManager");
|
||||
InputStream is = null;
|
||||
|
@@ -144,7 +144,7 @@ public class Attackable extends Npc
|
||||
* <li>attacker : The attacker Creature concerned by this RewardInfo of this Attackable</li>
|
||||
* <li>dmg : Total amount of damage done by the attacker to this Attackable (summon + own)</li>
|
||||
*/
|
||||
protected final class RewardInfo
|
||||
protected class RewardInfo
|
||||
{
|
||||
protected Creature _attacker;
|
||||
protected long _dmg = 0;
|
||||
|
@@ -9348,7 +9348,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
|
||||
/**
|
||||
* AI not. Task
|
||||
*/
|
||||
static class notifyAiTaskDelayed implements Runnable
|
||||
private static class notifyAiTaskDelayed implements Runnable
|
||||
{
|
||||
CtrlEvent event;
|
||||
Object object;
|
||||
|
@@ -4167,7 +4167,7 @@ public class Player extends Playable
|
||||
}
|
||||
}
|
||||
|
||||
static class TeleportProtectionFinalizer implements Runnable
|
||||
private static class TeleportProtectionFinalizer implements Runnable
|
||||
{
|
||||
private final Player _player;
|
||||
|
||||
|
@@ -54,7 +54,7 @@ public class FakePlayer
|
||||
/**
|
||||
* Initializes the semi Player stats for this NpcInstance, making it appear as a Player on all clients
|
||||
*/
|
||||
private final void initialize()
|
||||
private void initialize()
|
||||
{
|
||||
_int = new int[25];
|
||||
// karma=1, clanId=2, allyId=3, clanCrest=4, allyCrest=5, race=6, classId=7
|
||||
@@ -340,7 +340,7 @@ public class FakePlayer
|
||||
/**
|
||||
* Choose a random weapon for this CustomNpcInstance
|
||||
*/
|
||||
private final void chooseRandomWeapon()
|
||||
private void chooseRandomWeapon()
|
||||
{
|
||||
WeaponType wpnType = WeaponType.BOW;
|
||||
while (true) // Choose correct weapon TYPE
|
||||
@@ -361,7 +361,7 @@ public class FakePlayer
|
||||
/**
|
||||
* Choose a random class & race for this CustomNpcInstance
|
||||
*/
|
||||
private final void chooseRandomClass()
|
||||
private void chooseRandomClass()
|
||||
{
|
||||
while (true)
|
||||
{
|
||||
@@ -378,7 +378,7 @@ public class FakePlayer
|
||||
/**
|
||||
* Choose random appearance for this CustomNpcInstance
|
||||
*/
|
||||
private final void chooseRandomAppearance()
|
||||
private void chooseRandomAppearance()
|
||||
{
|
||||
// Karma=1, PledgeClass=9
|
||||
// HairStyle=19, HairColor=20, Face=21
|
||||
|
@@ -207,7 +207,7 @@ public class Servitor extends Summon
|
||||
return true;
|
||||
}
|
||||
|
||||
static class SummonLifetime implements Runnable
|
||||
private static class SummonLifetime implements Runnable
|
||||
{
|
||||
private final Player _player;
|
||||
private final Servitor _summon;
|
||||
|
@@ -109,7 +109,7 @@ public class WorldObjectKnownList
|
||||
}
|
||||
}
|
||||
|
||||
private final void findCloseObjects()
|
||||
private void findCloseObjects()
|
||||
{
|
||||
if (_activeObject == null)
|
||||
{
|
||||
|
@@ -86,7 +86,7 @@ public abstract class Inventory extends ItemContainer
|
||||
// used to quickly check for using of items of special type
|
||||
private int _wearedMask;
|
||||
|
||||
final class FormalWearListener implements PaperdollListener
|
||||
private class FormalWearListener implements PaperdollListener
|
||||
{
|
||||
@Override
|
||||
public void notifyUnequiped(int slot, Item item)
|
||||
@@ -139,7 +139,7 @@ public abstract class Inventory extends ItemContainer
|
||||
/**
|
||||
* Recorder of alterations in inventory
|
||||
*/
|
||||
public static final class ChangeRecorder implements PaperdollListener
|
||||
public static class ChangeRecorder implements PaperdollListener
|
||||
{
|
||||
private final Inventory _inventory;
|
||||
private final List<Item> _changed = new ArrayList<>(1);
|
||||
@@ -188,7 +188,7 @@ public abstract class Inventory extends ItemContainer
|
||||
}
|
||||
}
|
||||
|
||||
final class BowListener implements PaperdollListener
|
||||
private class BowListener implements PaperdollListener
|
||||
{
|
||||
@Override
|
||||
public void notifyUnequiped(int slot, Item item)
|
||||
@@ -248,7 +248,7 @@ public abstract class Inventory extends ItemContainer
|
||||
}
|
||||
}
|
||||
|
||||
final class StatsListener implements PaperdollListener
|
||||
private class StatsListener implements PaperdollListener
|
||||
{
|
||||
@Override
|
||||
public void notifyUnequiped(int slot, Item item)
|
||||
@@ -273,7 +273,7 @@ public abstract class Inventory extends ItemContainer
|
||||
}
|
||||
}
|
||||
|
||||
final class ItemPassiveSkillsListener implements PaperdollListener
|
||||
private class ItemPassiveSkillsListener implements PaperdollListener
|
||||
{
|
||||
@Override
|
||||
public void notifyUnequiped(int slot, Item item)
|
||||
@@ -375,7 +375,7 @@ public abstract class Inventory extends ItemContainer
|
||||
}
|
||||
}
|
||||
|
||||
final class ArmorSetListener implements PaperdollListener
|
||||
private class ArmorSetListener implements PaperdollListener
|
||||
{
|
||||
@Override
|
||||
public void notifyEquiped(int slot, Item item)
|
||||
|
@@ -362,7 +362,7 @@ public class Olympiad
|
||||
LOGGER.info("Olympiad System: Loaded " + NOBLES.size() + " Nobles");
|
||||
}
|
||||
|
||||
protected final void init()
|
||||
protected void init()
|
||||
{
|
||||
if (_period == 1)
|
||||
{
|
||||
|
@@ -130,7 +130,7 @@ class OlympiadGame
|
||||
return _aborted;
|
||||
}
|
||||
|
||||
protected final void clearPlayers()
|
||||
protected void clearPlayers()
|
||||
{
|
||||
_playerOne = null;
|
||||
_playerTwo = null;
|
||||
|
@@ -93,7 +93,7 @@ public enum BaseStat
|
||||
throw new NoSuchElementException("Unknown name '" + internName + "' for enum BaseStats");
|
||||
}
|
||||
|
||||
protected static final class STR implements IBaseStatFunction
|
||||
protected static class STR implements IBaseStatFunction
|
||||
{
|
||||
@Override
|
||||
public double calcBonus(Creature actor)
|
||||
@@ -122,7 +122,7 @@ public enum BaseStat
|
||||
}
|
||||
}
|
||||
|
||||
protected static final class INT implements IBaseStatFunction
|
||||
protected static class INT implements IBaseStatFunction
|
||||
{
|
||||
@Override
|
||||
public double calcBonus(Creature actor)
|
||||
@@ -151,7 +151,7 @@ public enum BaseStat
|
||||
}
|
||||
}
|
||||
|
||||
protected static final class DEX implements IBaseStatFunction
|
||||
protected static class DEX implements IBaseStatFunction
|
||||
{
|
||||
@Override
|
||||
public double calcBonus(Creature actor)
|
||||
@@ -180,7 +180,7 @@ public enum BaseStat
|
||||
}
|
||||
}
|
||||
|
||||
protected static final class WIT implements IBaseStatFunction
|
||||
protected static class WIT implements IBaseStatFunction
|
||||
{
|
||||
@Override
|
||||
public double calcBonus(Creature actor)
|
||||
@@ -209,7 +209,7 @@ public enum BaseStat
|
||||
}
|
||||
}
|
||||
|
||||
protected static final class CON implements IBaseStatFunction
|
||||
protected static class CON implements IBaseStatFunction
|
||||
{
|
||||
@Override
|
||||
public double calcBonus(Creature actor)
|
||||
@@ -238,7 +238,7 @@ public enum BaseStat
|
||||
}
|
||||
}
|
||||
|
||||
protected static final class MEN implements IBaseStatFunction
|
||||
protected static class MEN implements IBaseStatFunction
|
||||
{
|
||||
@Override
|
||||
public double calcBonus(Creature actor)
|
||||
@@ -267,7 +267,7 @@ public enum BaseStat
|
||||
}
|
||||
}
|
||||
|
||||
protected static final class NULL implements IBaseStatFunction
|
||||
protected static class NULL implements IBaseStatFunction
|
||||
{
|
||||
@Override
|
||||
public double calcBonus(Creature actor)
|
||||
|
@@ -64,7 +64,7 @@ public class Formulas
|
||||
|
||||
private static final int HP_REGENERATE_PERIOD = 3000; // 3 secs
|
||||
|
||||
static class FuncAddLevel3 extends Func
|
||||
public static class FuncAddLevel3 extends Func
|
||||
{
|
||||
static final FuncAddLevel3[] _instancies = new FuncAddLevel3[Stat.NUM_STATS];
|
||||
|
||||
@@ -90,7 +90,7 @@ public class Formulas
|
||||
}
|
||||
}
|
||||
|
||||
static class FuncMultLevelMod extends Func
|
||||
public static class FuncMultLevelMod extends Func
|
||||
{
|
||||
static final FuncMultLevelMod[] _instancies = new FuncMultLevelMod[Stat.NUM_STATS];
|
||||
|
||||
@@ -116,7 +116,7 @@ public class Formulas
|
||||
}
|
||||
}
|
||||
|
||||
static class FuncMultRegenResting extends Func
|
||||
public static class FuncMultRegenResting extends Func
|
||||
{
|
||||
static final FuncMultRegenResting[] _instancies = new FuncMultRegenResting[Stat.NUM_STATS];
|
||||
|
||||
@@ -160,7 +160,7 @@ public class Formulas
|
||||
}
|
||||
}
|
||||
|
||||
static class FuncPAtkMod extends Func
|
||||
public static class FuncPAtkMod extends Func
|
||||
{
|
||||
static final FuncPAtkMod _fpa_instance = new FuncPAtkMod();
|
||||
|
||||
@@ -191,7 +191,7 @@ public class Formulas
|
||||
}
|
||||
}
|
||||
|
||||
static class FuncMAtkMod extends Func
|
||||
public static class FuncMAtkMod extends Func
|
||||
{
|
||||
static final FuncMAtkMod _fma_instance = new FuncMAtkMod();
|
||||
|
||||
@@ -214,7 +214,7 @@ public class Formulas
|
||||
}
|
||||
}
|
||||
|
||||
static class FuncMDefMod extends Func
|
||||
public static class FuncMDefMod extends Func
|
||||
{
|
||||
static final FuncMDefMod _fmm_instance = new FuncMDefMod();
|
||||
|
||||
@@ -259,7 +259,7 @@ public class Formulas
|
||||
}
|
||||
}
|
||||
|
||||
static class FuncPDefMod extends Func
|
||||
public static class FuncPDefMod extends Func
|
||||
{
|
||||
static final FuncPDefMod _fmm_instance = new FuncPDefMod();
|
||||
|
||||
@@ -306,7 +306,7 @@ public class Formulas
|
||||
}
|
||||
}
|
||||
|
||||
static class FuncBowAtkRange extends Func
|
||||
public static class FuncBowAtkRange extends Func
|
||||
{
|
||||
private static final FuncBowAtkRange _fbar_instance = new FuncBowAtkRange();
|
||||
|
||||
@@ -332,7 +332,7 @@ public class Formulas
|
||||
}
|
||||
}
|
||||
|
||||
static class FuncAtkAccuracy extends Func
|
||||
public static class FuncAtkAccuracy extends Func
|
||||
{
|
||||
static final FuncAtkAccuracy _faa_instance = new FuncAtkAccuracy();
|
||||
|
||||
@@ -377,7 +377,7 @@ public class Formulas
|
||||
}
|
||||
}
|
||||
|
||||
static class FuncAtkEvasion extends Func
|
||||
public static class FuncAtkEvasion extends Func
|
||||
{
|
||||
static final FuncAtkEvasion _fae_instance = new FuncAtkEvasion();
|
||||
|
||||
@@ -416,7 +416,7 @@ public class Formulas
|
||||
}
|
||||
}
|
||||
|
||||
static class FuncAtkCritical extends Func
|
||||
public static class FuncAtkCritical extends Func
|
||||
{
|
||||
static final FuncAtkCritical _fac_instance = new FuncAtkCritical();
|
||||
|
||||
@@ -445,7 +445,7 @@ public class Formulas
|
||||
}
|
||||
}
|
||||
|
||||
static class FuncMAtkCritical extends Func
|
||||
public static class FuncMAtkCritical extends Func
|
||||
{
|
||||
static final FuncMAtkCritical _fac_instance = new FuncMAtkCritical();
|
||||
|
||||
@@ -474,7 +474,7 @@ public class Formulas
|
||||
}
|
||||
}
|
||||
|
||||
static class FuncMoveSpeed extends Func
|
||||
public static class FuncMoveSpeed extends Func
|
||||
{
|
||||
static final FuncMoveSpeed _fms_instance = new FuncMoveSpeed();
|
||||
|
||||
@@ -495,7 +495,7 @@ public class Formulas
|
||||
}
|
||||
}
|
||||
|
||||
static class FuncPAtkSpeed extends Func
|
||||
public static class FuncPAtkSpeed extends Func
|
||||
{
|
||||
static final FuncPAtkSpeed _fas_instance = new FuncPAtkSpeed();
|
||||
|
||||
@@ -516,7 +516,7 @@ public class Formulas
|
||||
}
|
||||
}
|
||||
|
||||
static class FuncMAtkSpeed extends Func
|
||||
public static class FuncMAtkSpeed extends Func
|
||||
{
|
||||
static final FuncMAtkSpeed _fas_instance = new FuncMAtkSpeed();
|
||||
|
||||
@@ -537,7 +537,7 @@ public class Formulas
|
||||
}
|
||||
}
|
||||
|
||||
static class FuncHennaSTR extends Func
|
||||
public static class FuncHennaSTR extends Func
|
||||
{
|
||||
static final FuncHennaSTR _fh_instance = new FuncHennaSTR();
|
||||
|
||||
@@ -562,7 +562,7 @@ public class Formulas
|
||||
}
|
||||
}
|
||||
|
||||
static class FuncHennaDEX extends Func
|
||||
public static class FuncHennaDEX extends Func
|
||||
{
|
||||
static final FuncHennaDEX _fh_instance = new FuncHennaDEX();
|
||||
|
||||
@@ -587,7 +587,7 @@ public class Formulas
|
||||
}
|
||||
}
|
||||
|
||||
static class FuncHennaINT extends Func
|
||||
public static class FuncHennaINT extends Func
|
||||
{
|
||||
static final FuncHennaINT _fh_instance = new FuncHennaINT();
|
||||
|
||||
@@ -612,7 +612,7 @@ public class Formulas
|
||||
}
|
||||
}
|
||||
|
||||
static class FuncHennaMEN extends Func
|
||||
public static class FuncHennaMEN extends Func
|
||||
{
|
||||
static final FuncHennaMEN _fh_instance = new FuncHennaMEN();
|
||||
|
||||
@@ -637,7 +637,7 @@ public class Formulas
|
||||
}
|
||||
}
|
||||
|
||||
static class FuncHennaCON extends Func
|
||||
public static class FuncHennaCON extends Func
|
||||
{
|
||||
static final FuncHennaCON _fh_instance = new FuncHennaCON();
|
||||
|
||||
@@ -662,7 +662,7 @@ public class Formulas
|
||||
}
|
||||
}
|
||||
|
||||
static class FuncHennaWIT extends Func
|
||||
public static class FuncHennaWIT extends Func
|
||||
{
|
||||
static final FuncHennaWIT _fh_instance = new FuncHennaWIT();
|
||||
|
||||
@@ -687,7 +687,7 @@ public class Formulas
|
||||
}
|
||||
}
|
||||
|
||||
static class FuncMaxHpAdd extends Func
|
||||
public static class FuncMaxHpAdd extends Func
|
||||
{
|
||||
static final FuncMaxHpAdd _fmha_instance = new FuncMaxHpAdd();
|
||||
|
||||
@@ -709,7 +709,7 @@ public class Formulas
|
||||
}
|
||||
}
|
||||
|
||||
static class FuncMaxHpMul extends Func
|
||||
public static class FuncMaxHpMul extends Func
|
||||
{
|
||||
static final FuncMaxHpMul _fmhm_instance = new FuncMaxHpMul();
|
||||
|
||||
@@ -730,7 +730,7 @@ public class Formulas
|
||||
}
|
||||
}
|
||||
|
||||
static class FuncMaxCpAdd extends Func
|
||||
public static class FuncMaxCpAdd extends Func
|
||||
{
|
||||
static final FuncMaxCpAdd _fmca_instance = new FuncMaxCpAdd();
|
||||
|
||||
@@ -752,7 +752,7 @@ public class Formulas
|
||||
}
|
||||
}
|
||||
|
||||
static class FuncMaxCpMul extends Func
|
||||
public static class FuncMaxCpMul extends Func
|
||||
{
|
||||
static final FuncMaxCpMul _fmcm_instance = new FuncMaxCpMul();
|
||||
|
||||
@@ -773,7 +773,7 @@ public class Formulas
|
||||
}
|
||||
}
|
||||
|
||||
static class FuncMaxMpAdd extends Func
|
||||
public static class FuncMaxMpAdd extends Func
|
||||
{
|
||||
static final FuncMaxMpAdd _fmma_instance = new FuncMaxMpAdd();
|
||||
|
||||
@@ -795,7 +795,7 @@ public class Formulas
|
||||
}
|
||||
}
|
||||
|
||||
static class FuncMaxMpMul extends Func
|
||||
public static class FuncMaxMpMul extends Func
|
||||
{
|
||||
static final FuncMaxMpMul _fmmm_instance = new FuncMaxMpMul();
|
||||
|
||||
|
@@ -25,7 +25,7 @@ import org.l2jmobius.gameserver.model.skill.Env;
|
||||
/**
|
||||
* @author kombat
|
||||
*/
|
||||
final class EffectBestowSkill extends Effect
|
||||
public class EffectBestowSkill extends Effect
|
||||
{
|
||||
public EffectBestowSkill(Env env, EffectTemplate template)
|
||||
{
|
||||
|
@@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.model.skill.Env;
|
||||
/**
|
||||
* @author decad
|
||||
*/
|
||||
final class EffectBetray extends Effect
|
||||
public class EffectBetray extends Effect
|
||||
{
|
||||
public EffectBetray(Env env, EffectTemplate template)
|
||||
{
|
||||
|
@@ -23,7 +23,7 @@ import org.l2jmobius.gameserver.model.skill.Env;
|
||||
/**
|
||||
* @author mkizub TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates
|
||||
*/
|
||||
final class EffectBuff extends Effect
|
||||
public class EffectBuff extends Effect
|
||||
{
|
||||
public EffectBuff(Env envbuff, EffectTemplate template)
|
||||
{
|
||||
|
@@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.model.skill.Stat;
|
||||
import org.l2jmobius.gameserver.network.SystemMessageId;
|
||||
import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
|
||||
|
||||
final class EffectCancel extends Effect
|
||||
public class EffectCancel extends Effect
|
||||
{
|
||||
public EffectCancel(Env env, EffectTemplate template)
|
||||
{
|
||||
|
@@ -31,7 +31,7 @@ import org.l2jmobius.gameserver.model.skill.Env;
|
||||
/**
|
||||
* @author littlecrow Implementation of the Confusion Effect
|
||||
*/
|
||||
final class EffectConfuseMob extends Effect
|
||||
public class EffectConfuseMob extends Effect
|
||||
{
|
||||
public EffectConfuseMob(Env env, EffectTemplate template)
|
||||
{
|
||||
|
@@ -30,7 +30,7 @@ import org.l2jmobius.gameserver.model.skill.Env;
|
||||
/**
|
||||
* @author littlecrow Implementation of the Confusion Effect
|
||||
*/
|
||||
final class EffectConfusion extends Effect
|
||||
public class EffectConfusion extends Effect
|
||||
{
|
||||
public EffectConfusion(Env env, EffectTemplate template)
|
||||
{
|
||||
|
@@ -25,7 +25,7 @@ import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
|
||||
/**
|
||||
* @author mkizub
|
||||
*/
|
||||
final class EffectFakeDeath extends Effect
|
||||
public class EffectFakeDeath extends Effect
|
||||
{
|
||||
public EffectFakeDeath(Env env, EffectTemplate template)
|
||||
{
|
||||
|
@@ -33,7 +33,7 @@ import org.l2jmobius.gameserver.model.skill.Env;
|
||||
/**
|
||||
* @author littlecrow Implementation of the Fear Effect
|
||||
*/
|
||||
final class EffectFear extends Effect
|
||||
public class EffectFear extends Effect
|
||||
{
|
||||
public static final int FEAR_RANGE = 500;
|
||||
|
||||
|
@@ -23,7 +23,7 @@ import org.l2jmobius.gameserver.model.skill.Env;
|
||||
/**
|
||||
* @author mkizub
|
||||
*/
|
||||
final class EffectImobileBuff extends Effect
|
||||
public class EffectImobileBuff extends Effect
|
||||
{
|
||||
public EffectImobileBuff(Env env, EffectTemplate template)
|
||||
{
|
||||
|
@@ -25,7 +25,7 @@ import org.l2jmobius.gameserver.model.skill.Env;
|
||||
/**
|
||||
* @author demonia
|
||||
*/
|
||||
final class EffectImobilePetBuff extends Effect
|
||||
public class EffectImobilePetBuff extends Effect
|
||||
{
|
||||
private Summon _pet;
|
||||
|
||||
|
@@ -24,7 +24,7 @@ import org.l2jmobius.gameserver.model.skill.Env;
|
||||
/**
|
||||
* @author earendil
|
||||
*/
|
||||
final class EffectNoblesseBless extends Effect
|
||||
public class EffectNoblesseBless extends Effect
|
||||
{
|
||||
public EffectNoblesseBless(Env env, EffectTemplate template)
|
||||
{
|
||||
|
@@ -21,7 +21,7 @@ import org.l2jmobius.gameserver.model.effects.Effect;
|
||||
import org.l2jmobius.gameserver.model.effects.EffectType;
|
||||
import org.l2jmobius.gameserver.model.skill.Env;
|
||||
|
||||
final class EffectParalyze extends Effect
|
||||
public class EffectParalyze extends Effect
|
||||
{
|
||||
public EffectParalyze(Env env, EffectTemplate template)
|
||||
{
|
||||
|
@@ -24,7 +24,7 @@ import org.l2jmobius.gameserver.model.skill.Env;
|
||||
/**
|
||||
* @author Faror
|
||||
*/
|
||||
final class EffectPhoenixBless extends Effect
|
||||
public class EffectPhoenixBless extends Effect
|
||||
{
|
||||
public EffectPhoenixBless(Env env, EffectTemplate template)
|
||||
{
|
||||
|
@@ -23,7 +23,7 @@ import org.l2jmobius.gameserver.model.skill.Env;
|
||||
/**
|
||||
* @author mkizub
|
||||
*/
|
||||
final class EffectRoot extends Effect
|
||||
public class EffectRoot extends Effect
|
||||
{
|
||||
public EffectRoot(Env env, EffectTemplate template)
|
||||
{
|
||||
|
@@ -25,7 +25,7 @@ import org.l2jmobius.gameserver.model.skill.SkillType;
|
||||
import org.l2jmobius.gameserver.network.SystemMessageId;
|
||||
import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
|
||||
|
||||
final class EffectSilentMove extends Effect
|
||||
public class EffectSilentMove extends Effect
|
||||
{
|
||||
public EffectSilentMove(Env env, EffectTemplate template)
|
||||
{
|
||||
|
@@ -23,7 +23,7 @@ import org.l2jmobius.gameserver.model.skill.Env;
|
||||
/**
|
||||
* @author mkizub
|
||||
*/
|
||||
final class EffectSleep extends Effect
|
||||
public class EffectSleep extends Effect
|
||||
{
|
||||
public EffectSleep(Env env, EffectTemplate template)
|
||||
{
|
||||
|
@@ -23,7 +23,7 @@ import org.l2jmobius.gameserver.model.skill.Env;
|
||||
/**
|
||||
* @author mkizub
|
||||
*/
|
||||
final class EffectStun extends Effect
|
||||
public class EffectStun extends Effect
|
||||
{
|
||||
public EffectStun(Env env, EffectTemplate template)
|
||||
{
|
||||
|
@@ -90,7 +90,7 @@ public abstract class ZoneForm
|
||||
return b > a ? (c >= a) && (c <= b) : (c >= b) && (c <= a);
|
||||
}
|
||||
|
||||
protected static final void dropDebugItem(int id, int x, int y, int z)
|
||||
protected static void dropDebugItem(int id, int x, int y, int z)
|
||||
{
|
||||
final Item item = new Item(IdManager.getInstance().getNextId(), 57);
|
||||
item.setCount(id);
|
||||
|
@@ -90,7 +90,7 @@ public class JailZone extends ZoneType
|
||||
{
|
||||
}
|
||||
|
||||
static class BackToJail implements Runnable
|
||||
private static class BackToJail implements Runnable
|
||||
{
|
||||
private final Player _player;
|
||||
|
||||
|
@@ -23,7 +23,7 @@ import org.l2jmobius.gameserver.model.item.Henna;
|
||||
import org.l2jmobius.gameserver.network.GameClient;
|
||||
import org.l2jmobius.gameserver.network.serverpackets.HennaItemRemoveInfo;
|
||||
|
||||
public final class RequestHennaItemRemoveInfo implements ClientPacket
|
||||
public class RequestHennaItemRemoveInfo implements ClientPacket
|
||||
{
|
||||
private int _symbolId;
|
||||
|
||||
|
@@ -25,7 +25,7 @@ import org.l2jmobius.gameserver.network.SystemMessageId;
|
||||
/**
|
||||
* format cd
|
||||
*/
|
||||
public final class RequestHennaRemove implements ClientPacket
|
||||
public class RequestHennaRemove implements ClientPacket
|
||||
{
|
||||
private int _symbolId;
|
||||
|
||||
|
@@ -24,7 +24,7 @@ import org.l2jmobius.gameserver.network.serverpackets.HennaRemoveList;
|
||||
/**
|
||||
* @author Tempy
|
||||
*/
|
||||
public final class RequestHennaRemoveList implements ClientPacket
|
||||
public class RequestHennaRemoveList implements ClientPacket
|
||||
{
|
||||
@SuppressWarnings("unused")
|
||||
private int _unknown;
|
||||
|
@@ -55,7 +55,7 @@ public class ServerStatus extends WritablePacket
|
||||
public static final int ON = 0x01;
|
||||
public static final int OFF = 0x00;
|
||||
|
||||
static class Attribute
|
||||
private static class Attribute
|
||||
{
|
||||
public int id;
|
||||
public int value;
|
||||
|
@@ -247,7 +247,7 @@ public class NpcHtmlMessage extends ServerPacket
|
||||
* Builds the bypass cache.
|
||||
* @param player the player
|
||||
*/
|
||||
private final void buildBypassCache(Player player)
|
||||
private void buildBypassCache(Player player)
|
||||
{
|
||||
if (player == null)
|
||||
{
|
||||
@@ -282,7 +282,7 @@ public class NpcHtmlMessage extends ServerPacket
|
||||
* Builds the links cache.
|
||||
* @param player the player
|
||||
*/
|
||||
private final void buildLinksCache(Player player)
|
||||
private void buildLinksCache(Player player)
|
||||
{
|
||||
if (player == null)
|
||||
{
|
||||
|
@@ -32,7 +32,7 @@ import javax.tools.StandardJavaFileManager;
|
||||
/**
|
||||
* @author HorridoJoho
|
||||
*/
|
||||
final class ScriptingFileManager implements StandardJavaFileManager
|
||||
public class ScriptingFileManager implements StandardJavaFileManager
|
||||
{
|
||||
private final StandardJavaFileManager _wrapped;
|
||||
private final LinkedList<ScriptingOutputFileObject> _classOutputs = new LinkedList<>();
|
||||
|
@@ -31,7 +31,7 @@ import javax.tools.JavaFileObject;
|
||||
/**
|
||||
* @author HorridoJoho
|
||||
*/
|
||||
final class ScriptingOutputFileObject implements JavaFileObject
|
||||
public class ScriptingOutputFileObject implements JavaFileObject
|
||||
{
|
||||
private final Path _sourcePath;
|
||||
private final String _javaName;
|
||||
|
@@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.network.serverpackets.ExServerPrimitive;
|
||||
/**
|
||||
* @author HorridoJoho
|
||||
*/
|
||||
public final class GeoUtils
|
||||
public class GeoUtils
|
||||
{
|
||||
public static void debug2DLine(Player player, int x, int y, int tx, int ty, int z)
|
||||
{
|
||||
|
Reference in New Issue
Block a user