Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### Eclipse Workspace Patch 1.0
- #P L2JHellasC
- Index: java/com/l2jhellas/gameserver/model/entity/Castle.java
- ===================================================================
- --- java/com/l2jhellas/gameserver/model/entity/Castle.java (revision 519)
- +++ java/com/l2jhellas/gameserver/model/entity/Castle.java (working copy)
- @@ -454,7 +454,8 @@
- _showNpcCrest = true;
- }
- -
- +
- + rs.close();
- statement.close();
- _taxRate = _taxPercent / 100.0;
- @@ -473,7 +474,8 @@
- L2Clan clan = ClanTable.getInstance().getClan(getOwnerId());// Try to find clan instance
- ThreadPoolManager.getInstance().scheduleGeneral(new CastleUpdater(clan, 1), 3600000);// Schedule owner tasks to start running
- }
- -
- +
- + rs.close();
- statement.close();
- }
- catch (Exception e)
- @@ -503,7 +505,8 @@
- _doors.add(door);
- DoorData.getInstance().putDoor(door);
- }
- -
- +
- + rs.close();
- statement.close();
- }
- catch (SQLException e)
- @@ -527,7 +530,8 @@
- {
- upgradeDoor(rs.getInt("id"), rs.getInt("hp"), rs.getInt("pDef"), rs.getInt("mDef"));
- }
- -
- +
- + rs.close();
- statement.close();
- }
- catch (SQLException e)
Advertisement
Add Comment
Please, Sign In to add comment