Castle taxPercent value is no longer stored in database.

This commit is contained in:
MobiusDev 2019-02-23 13:23:19 +00:00
parent ffd24341a1
commit 93048b2592
10 changed files with 0 additions and 90 deletions

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);