1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-12-30 21:07:48 +01:00

Just remove this part

This commit is contained in:
Zrips 2017-06-21 14:34:42 +03:00
parent 72f5945053
commit 1abeca9a74
3 changed files with 5 additions and 13 deletions

View File

@ -118,6 +118,9 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.1</version>
<configuration>
<outputDirectory>C:\Users\Arte\Desktop\Server\plugins</outputDirectory>
</configuration>
</plugin>
</plugins>
</build>

View File

@ -50,18 +50,6 @@ public class YmlMaker {
}
this.Configuration = YamlConfiguration.loadConfiguration(f);
InputStream defConfigStream = this.plugin.getResource(this.fileName);
if (defConfigStream != null) {
YamlConfiguration defConfig = YamlConfiguration.loadConfiguration(f);
this.Configuration.setDefaults(defConfig);
}
if (defConfigStream != null)
try {
defConfigStream.close();
} catch (IOException e) {
e.printStackTrace();
}
if (f != null)
try {
f.close();

View File

@ -1137,7 +1137,8 @@ public abstract class JobsDAO {
for (Entry<String, HashMap<String, HashMap<Vector, BlockProtection>>> regions : worlds.getValue().entrySet()) {
for (Entry<String, HashMap<Vector, BlockProtection>> chunks : regions.getValue().entrySet()) {
for (Entry<Vector, BlockProtection> block : chunks.getValue().entrySet()) {
if (block.getValue() == null)
continue;
switch (block.getValue().getAction()) {
case DELETE:
delete.setInt(1, block.getValue().getId());