Removed religion making offer

For now
This commit is contained in:
Norbi Peti 2018-02-14 21:07:52 +01:00
parent 1bf0024dc4
commit 42966d0feb
No known key found for this signature in database
GPG key ID: DBA4C4549A927E56
3 changed files with 3 additions and 7 deletions

View file

@ -60,11 +60,6 @@
<exclude>net.ess3:Essentials</exclude> <exclude>net.ess3:Essentials</exclude>
</excludes> <!-- TODO: http://stackoverflow.com/questions/28458058/maven-shade-plugin-exclude-a-dependency-and-all-its-transitive-dependencies --> </excludes> <!-- TODO: http://stackoverflow.com/questions/28458058/maven-shade-plugin-exclude-a-dependency-and-all-its-transitive-dependencies -->
</artifactSet> </artifactSet>
<pluginExecution>
<action>
<execute />
</action>
</pluginExecution>
</configuration> </configuration>
</execution> </execution>
</executions> </executions>

View file

@ -159,7 +159,7 @@ public class DiscordPlugin extends JavaPlugin implements IListener<ReadyEvent> {
} }
TBMCCoreAPI.SendUnsentExceptions(); TBMCCoreAPI.SendUnsentExceptions();
TBMCCoreAPI.SendUnsentDebugMessages(); TBMCCoreAPI.SendUnsentDebugMessages();
if (!TBMCCoreAPI.IsTestServer()) { /*if (!TBMCCoreAPI.IsTestServer()) {
final Calendar currentCal = Calendar.getInstance(); final Calendar currentCal = Calendar.getInstance();
final Calendar newCal = Calendar.getInstance(); final Calendar newCal = Calendar.getInstance();
currentCal.set(currentCal.get(Calendar.YEAR), currentCal.get(Calendar.MONTH), currentCal.set(currentCal.get(Calendar.YEAR), currentCal.get(Calendar.MONTH),
@ -169,7 +169,7 @@ public class DiscordPlugin extends JavaPlugin implements IListener<ReadyEvent> {
sendMessageToChannel(dc.getChannels().get(rand.nextInt(dc.getChannels().size())), sendMessageToChannel(dc.getChannels().get(rand.nextInt(dc.getChannels().size())),
"You could make a religion out of this"); "You could make a religion out of this");
} }
} }*/
} }
}, 0, 10); }, 0, 10);
for (IListener<?> listener : CommandListener.getListeners()) for (IListener<?> listener : CommandListener.getListeners())

View file

@ -19,6 +19,7 @@ import sx.blah.discord.handle.obj.IUser;
@Getter @Getter
@Setter @Setter
@SuppressWarnings("deprecated")
public abstract class DiscordEntity extends DiscordSenderBase implements Entity { public abstract class DiscordEntity extends DiscordSenderBase implements Entity {
protected DiscordEntity(IUser user, IChannel channel, int entityId, UUID uuid) { protected DiscordEntity(IUser user, IChannel channel, int entityId, UUID uuid) {
super(user, channel); super(user, channel);