mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-10 16:48:05 +02:00
Extract CommandSender to CommandSource, this should prevent Ess user object leaks.
This commit is contained in:
27
EssentialsChat/EssentialsChat.iml
Normal file
27
EssentialsChat/EssentialsChat.iml
Normal file
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="JAVA_MODULE" version="4">
|
||||
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_6" inherit-compiler-output="false">
|
||||
<output url="file://$MODULE_DIR$/target/classes" />
|
||||
<output-test url="file://$MODULE_DIR$/target/test-classes" />
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/target" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="module" module-name="Essentials" />
|
||||
<orderEntry type="module" module-name="EssentialsGroupManager" />
|
||||
<orderEntry type="library" name="Maven: org.bukkit:bukkit:1.4.2-R0.3-SNAPSHOT" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.projectlombok:lombok:0.11.6" level="project" />
|
||||
<orderEntry type="library" name="Maven: commons-io:commons-io:2.4" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.commons:commons-compress:1.4.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.tukaani:xz:1.0" level="project" />
|
||||
<orderEntry type="library" name="Maven: cosine:BOSEconomy:0.7" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.iConomy:iConomy:5.0" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.iCo6:iConomy:6.0" level="project" />
|
||||
<orderEntry type="library" name="Maven: me.ashtheking:MultiCurrency:0.05" level="project" />
|
||||
<orderEntry type="library" name="Maven: net.milkbowl:Vault:1.2" level="project" />
|
||||
</component>
|
||||
</module>
|
||||
|
@@ -82,7 +82,7 @@ public abstract class EssentialsChatPlayer implements Listener
|
||||
}
|
||||
catch (ChargeException e)
|
||||
{
|
||||
ess.showError(chatStore.getUser().getBase(), e, chatStore.getLongType());
|
||||
ess.showError(chatStore.getUser().getSource(), e, chatStore.getLongType());
|
||||
event.setCancelled(true);
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user