This commit is contained in:
Fuzzlemann 2017-08-09 19:17:19 +02:00
commit 4bd8e8fb5c
3 changed files with 9 additions and 37 deletions

View File

@ -1,41 +1,13 @@
Feel free to use the template below to report your issue, for suggestions you can use whatever works for you :)
Remember to use the Preview button to ensure the errors are displayed properly
Instructions for issue reporting:
- Write description of the issue
- Use `/plan m dump` & Copy the hastebin address here
If your issue is about a command timeout, please follow the instructions at the bottom of the issue template.
For suggestions use any format you want. :)
----
**Plan Version:** <Version>
**Server Version:** <Server Version>
**Database Type:** <Mysql/sqlite>
**Issue Caused by:** <Caused by>
----
**Description:**
**Description of the issue**
**Steps to Reproduce:**
1.
2.
**Proposed Solution:**
----
**Console/Errors.txt/DebugLog.txt contents:**
```
Place any stack traces inside these symbols (```)
```
----
Instructions for reporting timeout issues:
- Enable file debug mode by changing config setting "Debug" to "file"
- Reload the plugin
- Run the command that causes the timeout message to show
- Copy the contents of DebugLog.txt inside the code brackets above
**Hastebin link**
Link:

View File

@ -184,7 +184,7 @@ public abstract class SQLDB extends Database {
Set<UUID> uuids = usersTable.getSavedUUIDs();
uuids.removeAll(usersTable.getContainsBukkitData(uuids));
if (uuids.isEmpty()) {
Log.debug("No conversion necessary.");
Log.debug("Database", "No conversion necessary.");
return;
}
setStatus("Bukkit Data Conversion");

View File

@ -41,7 +41,7 @@ public class MiscUtils {
}
public static int getTimeZoneOffsetHours() {
return TimeZone.getDefault().getOffset(MiscUtils.getTime()) / (int) TimeAmount.HOUR.ms();
return -TimeZone.getDefault().getOffset(MiscUtils.getTime()) / (int) TimeAmount.HOUR.ms();
}
/**