mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-12 03:24:23 +00:00
remove DoubleArgumentParser
This commit is contained in:
@@ -1,11 +0,0 @@
|
|||||||
package com.dfsek.terra.api.command.arg;
|
|
||||||
|
|
||||||
import com.dfsek.terra.api.entity.CommandSender;
|
|
||||||
|
|
||||||
|
|
||||||
public class DoubleArgumentParser implements ArgumentParser<Double> {
|
|
||||||
@Override
|
|
||||||
public Double parse(CommandSender sender, String arg) {
|
|
||||||
return arg == null ? null : Double.parseDouble(arg);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user