Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added translations #19

Merged
merged 30 commits into from
Oct 20, 2017
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
9d92ee7
Update config.yml
FrankHeijden Oct 18, 2017
c3dfab2
Update CleanDatabase.java
FrankHeijden Oct 18, 2017
c75f052
Update Clear.java
FrankHeijden Oct 18, 2017
125bfcb
Update CommandRunner.java
FrankHeijden Oct 18, 2017
7e0534c
Update Help.java
FrankHeijden Oct 18, 2017
927d7bc
Update History.java
FrankHeijden Oct 18, 2017
7589248
Update BatchRunner.java
FrankHeijden Oct 18, 2017
d809c78
+ Translations
FrankHeijden Oct 18, 2017
216dcad
+ Translations
FrankHeijden Oct 18, 2017
87f0185
Update plugin.yml
FrankHeijden Oct 18, 2017
225c45b
Update CleanDatabase.java
FrankHeijden Oct 18, 2017
a629f2a
Update Clear.java
FrankHeijden Oct 18, 2017
5ce2830
Update CommandRunner.java
FrankHeijden Oct 18, 2017
0d08d03
Update Help.java
FrankHeijden Oct 18, 2017
40e4b76
Update ChestShopNotifier.java
FrankHeijden Oct 18, 2017
13eed79
Update LoginRunner.java
FrankHeijden Oct 18, 2017
1286047
Update config.yml
FrankHeijden Oct 18, 2017
691cfac
Update Converter.java
FrankHeijden Oct 18, 2017
0d0d95b
Update History.java
FrankHeijden Oct 18, 2017
3151706
Update pom.xml
FrankHeijden Oct 18, 2017
4f7957e
Update Help.java
FrankHeijden Oct 19, 2017
5220535
Update ChestShopNotifier.java
FrankHeijden Oct 19, 2017
6422315
Update Help.java
FrankHeijden Oct 19, 2017
299f8cb
Update History.java
FrankHeijden Oct 19, 2017
8eda74b
Update Help.java
FrankHeijden Oct 19, 2017
6738e6e
Update CommandRunner.java
FrankHeijden Oct 19, 2017
feebcff
Update CommandRunner.java
FrankHeijden Oct 19, 2017
1d8c7ac
Update CommandRunner.java
FrankHeijden Oct 19, 2017
b7ffeb1
Update CommandRunner.java
FrankHeijden Oct 19, 2017
f6faea4
Update CommandRunner.java
FrankHeijden Oct 20, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main/java/com/wfector/command/CommandRunner.java
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public boolean onCommand(final CommandSender sender, Command cmd, String label,
if (userId == null) {
OfflinePlayer target = plugin.getServer().getPlayer(args[1]);
if (target == null) {
target = plugin.getServer().getOfflinePlayer(args[1]);
target = plugin.getServer().getOfflinePlayer(NameManager.getUUID(args[1]));
Copy link
Contributor Author

@FrankHeijden FrankHeijden Oct 19, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it possible to use this method instead of the deprecated getOfflinePlayer(args[1]) method?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is not really a need to get the OfflinePlayer here as it was only used to get the player's UUID which can be replaced with the NameManager method call.

}
if (target != null) {
userId = target.getUniqueId();
Expand Down