Castle taxPercent value is no longer stored in database.
This commit is contained in:
parent
ffd24341a1
commit
93048b2592
@ -301,15 +301,6 @@ public class ClanTable
|
||||
ps.execute();
|
||||
}
|
||||
|
||||
if (castleId != 0)
|
||||
{
|
||||
try (PreparedStatement ps = con.prepareStatement("UPDATE castle SET taxPercent = 0 WHERE id = ?"))
|
||||
{
|
||||
ps.setInt(1, castleId);
|
||||
ps.execute();
|
||||
}
|
||||
}
|
||||
|
||||
if (fortId != 0)
|
||||
{
|
||||
final Fort fort = FortManager.getInstance().getFortById(fortId);
|
||||
|
@ -301,15 +301,6 @@ public class ClanTable
|
||||
ps.execute();
|
||||
}
|
||||
|
||||
if (castleId != 0)
|
||||
{
|
||||
try (PreparedStatement ps = con.prepareStatement("UPDATE castle SET taxPercent = 0 WHERE id = ?"))
|
||||
{
|
||||
ps.setInt(1, castleId);
|
||||
ps.execute();
|
||||
}
|
||||
}
|
||||
|
||||
if (fortId != 0)
|
||||
{
|
||||
final Fort fort = FortManager.getInstance().getFortById(fortId);
|
||||
|
@ -305,15 +305,6 @@ public class ClanTable
|
||||
ps.execute();
|
||||
}
|
||||
|
||||
if (castleId != 0)
|
||||
{
|
||||
try (PreparedStatement ps = con.prepareStatement("UPDATE castle SET taxPercent = 0 WHERE id = ?"))
|
||||
{
|
||||
ps.setInt(1, castleId);
|
||||
ps.execute();
|
||||
}
|
||||
}
|
||||
|
||||
if (fortId != 0)
|
||||
{
|
||||
final Fort fort = FortManager.getInstance().getFortById(fortId);
|
||||
|
@ -305,15 +305,6 @@ public class ClanTable
|
||||
ps.execute();
|
||||
}
|
||||
|
||||
if (castleId != 0)
|
||||
{
|
||||
try (PreparedStatement ps = con.prepareStatement("UPDATE castle SET taxPercent = 0 WHERE id = ?"))
|
||||
{
|
||||
ps.setInt(1, castleId);
|
||||
ps.execute();
|
||||
}
|
||||
}
|
||||
|
||||
if (fortId != 0)
|
||||
{
|
||||
final Fort fort = FortManager.getInstance().getFortById(fortId);
|
||||
|
@ -305,15 +305,6 @@ public class ClanTable
|
||||
ps.execute();
|
||||
}
|
||||
|
||||
if (castleId != 0)
|
||||
{
|
||||
try (PreparedStatement ps = con.prepareStatement("UPDATE castle SET taxPercent = 0 WHERE id = ?"))
|
||||
{
|
||||
ps.setInt(1, castleId);
|
||||
ps.execute();
|
||||
}
|
||||
}
|
||||
|
||||
if (fortId != 0)
|
||||
{
|
||||
final Fort fort = FortManager.getInstance().getFortById(fortId);
|
||||
|
@ -305,15 +305,6 @@ public class ClanTable
|
||||
ps.execute();
|
||||
}
|
||||
|
||||
if (castleId != 0)
|
||||
{
|
||||
try (PreparedStatement ps = con.prepareStatement("UPDATE castle SET taxPercent = 0 WHERE id = ?"))
|
||||
{
|
||||
ps.setInt(1, castleId);
|
||||
ps.execute();
|
||||
}
|
||||
}
|
||||
|
||||
if (fortId != 0)
|
||||
{
|
||||
final Fort fort = FortManager.getInstance().getFortById(fortId);
|
||||
|
@ -305,15 +305,6 @@ public class ClanTable
|
||||
ps.execute();
|
||||
}
|
||||
|
||||
if (castleId != 0)
|
||||
{
|
||||
try (PreparedStatement ps = con.prepareStatement("UPDATE castle SET taxPercent = 0 WHERE id = ?"))
|
||||
{
|
||||
ps.setInt(1, castleId);
|
||||
ps.execute();
|
||||
}
|
||||
}
|
||||
|
||||
if (fortId != 0)
|
||||
{
|
||||
final Fort fort = FortManager.getInstance().getFortById(fortId);
|
||||
|
@ -305,15 +305,6 @@ public class ClanTable
|
||||
ps.execute();
|
||||
}
|
||||
|
||||
if (castleId != 0)
|
||||
{
|
||||
try (PreparedStatement ps = con.prepareStatement("UPDATE castle SET taxPercent = 0 WHERE id = ?"))
|
||||
{
|
||||
ps.setInt(1, castleId);
|
||||
ps.execute();
|
||||
}
|
||||
}
|
||||
|
||||
if (fortId != 0)
|
||||
{
|
||||
final Fort fort = FortManager.getInstance().getFortById(fortId);
|
||||
|
@ -305,15 +305,6 @@ public class ClanTable
|
||||
ps.execute();
|
||||
}
|
||||
|
||||
if (castleId != 0)
|
||||
{
|
||||
try (PreparedStatement ps = con.prepareStatement("UPDATE castle SET taxPercent = 0 WHERE id = ?"))
|
||||
{
|
||||
ps.setInt(1, castleId);
|
||||
ps.execute();
|
||||
}
|
||||
}
|
||||
|
||||
if (fortId != 0)
|
||||
{
|
||||
final Fort fort = FortManager.getInstance().getFortById(fortId);
|
||||
|
@ -305,15 +305,6 @@ public class ClanTable
|
||||
ps.execute();
|
||||
}
|
||||
|
||||
if (castleId != 0)
|
||||
{
|
||||
try (PreparedStatement ps = con.prepareStatement("UPDATE castle SET taxPercent = 0 WHERE id = ?"))
|
||||
{
|
||||
ps.setInt(1, castleId);
|
||||
ps.execute();
|
||||
}
|
||||
}
|
||||
|
||||
if (fortId != 0)
|
||||
{
|
||||
final Fort fort = FortManager.getInstance().getFortById(fortId);
|
||||
|
Loading…
Reference in New Issue
Block a user