Project style corrections for previous commit.
This commit is contained in:
parent
1a922b37f0
commit
75d095e019
@ -1,14 +1,18 @@
|
|||||||
/*
|
/*
|
||||||
* This program is free software: you can redistribute it and/or modify it under
|
* This file is part of the L2J Mobius project.
|
||||||
* the terms of the GNU General Public License as published by the Free Software
|
*
|
||||||
* Foundation, either version 3 of the License, or (at your option) any later version.
|
* This program is free software: you can redistribute it and/or modify
|
||||||
*
|
* it under the terms of the GNU General Public License as published by
|
||||||
* This program is distributed in the hope that it will be useful, but WITHOUT
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
* (at your option) any later version.
|
||||||
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
*
|
||||||
*
|
* This program is distributed in the hope that it will be useful,
|
||||||
* You should have received a copy of the GNU General Public License along with
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* this program. If not, see <http://www.gnu.org/licenses/>.
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
package quests.Q503_PursuitOfClanAmbition;
|
package quests.Q503_PursuitOfClanAmbition;
|
||||||
|
|
||||||
|
@ -1976,7 +1976,7 @@ public class Quest extends ManagedScript
|
|||||||
{
|
{
|
||||||
try (Connection con = DatabaseFactory.getConnection())
|
try (Connection con = DatabaseFactory.getConnection())
|
||||||
{
|
{
|
||||||
PreparedStatement stm = con.prepareStatement("INSERT INTO character_quests (charId,name,var,value) VALUES (?,?,?,?)");
|
PreparedStatement stm = con.prepareStatement("INSERT INTO character_quests (char_id,name,var,value) VALUES (?,?,?,?)");
|
||||||
|
|
||||||
for (Integer charId : objectsId)
|
for (Integer charId : objectsId)
|
||||||
{
|
{
|
||||||
@ -2002,7 +2002,7 @@ public class Quest extends ManagedScript
|
|||||||
{
|
{
|
||||||
try (Connection con = DatabaseFactory.getConnection())
|
try (Connection con = DatabaseFactory.getConnection())
|
||||||
{
|
{
|
||||||
PreparedStatement stm = con.prepareStatement("DELETE FROM character_quests WHERE name = ? and charId IN (SELECT charId FROM characters WHERE clanId = ? AND online = 0)");
|
PreparedStatement stm = con.prepareStatement("DELETE FROM character_quests WHERE name = ? and char_id IN (SELECT obj_Id FROM characters WHERE clanid = ? AND online = 0)");
|
||||||
|
|
||||||
stm.setString(1, getName());
|
stm.setString(1, getName());
|
||||||
stm.setInt(2, clanId);
|
stm.setInt(2, clanId);
|
||||||
|
Loading…
Reference in New Issue
Block a user